Re: Does AXObserverRemoveNotification work?
Re: Does AXObserverRemoveNotification work?
- Subject: Re: Does AXObserverRemoveNotification work?
- From: Matthew Formica <email@hidden>
- Date: Tue, 19 Nov 2002 11:32:05 -0800
On 11/19/02 2:53 AM, "Bill Cheeseman" <email@hidden> wrote:
>
on 02-11-18 8:48 PM, Matthew Formica at email@hidden wrote:
>
>
> This has been mentioned on this list before. This is a known bug; currently
>
> if you try to call AXObserverRemoveNotification you'll crash the app you
>
> were observing. So the workaround is to not remove yourself as an observer.
>
> But don't gut that code altogether; it will be fixed in in an upcoming OS
>
> release, at which point you can conditionalize things and remove yourself as
>
> an observer if you are on a fixed system.
>
>
I searched the list for the function name and came up with "Sorry, but the
>
search returned no results."
This was discussed on October 12, although you are right that the API wasn't
mentioned. Here's the link to the prior discussion, titled "Problem with
Removing Observers":
<
http://lists.apple.com/mhonarc/accessibility-dev/msg00064.html>
>
>
What does "if you are on a fixed system" mean?
It means check the OS version you are running on, and if you are running on
a version where you know the bug is fixed, make the call; otherwise, do your
workaround. It sounds like you're on the right track in this regard.
- Matthew
_______________________________________________
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.