Re: Does AXObserverRemoveNotification work?
Re: Does AXObserverRemoveNotification work?
- Subject: Re: Does AXObserverRemoveNotification work?
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 19 Nov 2002 17:16:38 -0500
on 02-11-19 7:17 AM, Andrew Taylor at email@hidden wrote:
>
Actually there is yet another manifestation of this bug, if your
>
application quits with observers registered, there will be lots more
>
crashes - all the observed applications will crash as they attempt to
>
notify your no longer present application of observed events.
I haven't seen this. I'll watch for it more carefully.
>
The work around is to create a background application that once
>
launched does not quit. Have that application do all the observer
>
registration and have it communicate with your main application
>
through Carbon events or CFMessagePort or AppleEvents or other means.
>
So if you have to ship before Apple can release the fix, the above
>
will do it. It will also allow you to just continue testing your code
>
without extra crashes.
Too much work. There has to be an easier way.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.