Re: Question about UIElementRefs
Re: Question about UIElementRefs
- Subject: Re: Question about UIElementRefs
- From: Eric Schlegel <email@hidden>
- Date: Thu, 27 Nov 2003 10:53:38 -0800
On Nov 26, 2003, at 10:35 AM, Andrew Taylor wrote:
Well, I guess I have some code review to do. It might be that a year
ago CFEqual worked on destroyed elements, but I wonder if it is true
today. I suspect the "proper" solution is to make sure I am not
working with destroyed elements to begin with.
When you cache the UIElementRef, do you also call CFRetain on it? It
sounds to me like you're not retaining it, and then the AX
implementation is releasing the element underneath you.
-eric
_______________________________________________
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.