Observer call-back sometimes given nil refCon
Observer call-back sometimes given nil refCon
- Subject: Observer call-back sometimes given nil refCon
- From: Matt Gough <email@hidden>
- Date: Tue, 01 Apr 2003 18:16:04 +0100
Very occasionally, my Observer call-back is being given a nil refCon for a
WindowCreated notification. In all the cases that I add the notification, I
can guarantee that the value passed into AXObserverAddNotification is
definitely not nil
i.e. it is in some code like:
if (myPtr)
{
...
AXObserverAddNotification(..., myPtr);
}
and myPtr is not changing between the test and the Add.
Has anyone else seen this, and can anyone at Apple see any possible reason
for it being 'lost' between then time it is added and the time the call-back
is called?
Matt Gough
_______________________________________________
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.