Re: Get error message about registered observers when Object receives dealloc message
Re: Get error message about registered observers when Object receives dealloc message
- Subject: Re: Get error message about registered observers when Object receives dealloc message
- From: "Sean McBride" <email@hidden>
- Date: Mon, 31 Aug 2009 18:38:59 -0400
- Organization: Rogue Research Inc.
On 8/29/09 10:28 AM, Quincey Morris said:
>The second is that one of the behaviors he doesn't control --
>unregistration of observers -- is not permitted during the 'dealloc'
>of the observed object, and must be done before that.
Note that the wonderful AnalysisTool can catch this through static analysis:
<http://www.karppinen.fi/analysistool/#dealloc-safety>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden