• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does AXObserverRemoveNotification work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Does AXObserverRemoveNotification work? (From: Andrew Taylor <email@hidden>)

  • Prev by Date: Re: Multiple notifications
  • Next by Date: Re: Does AXObserverRemoveNotification work?
  • Previous by thread: Re: Does AXObserverRemoveNotification work?
  • Next by thread: Re: Does AXObserverRemoveNotification work?
  • Index(es):
    • Date
    • Thread