Re: Exception raised during posting of notification
Re: Exception raised during posting of notification
- Subject: Re: Exception raised during posting of notification
- From: Sherm Pendley <email@hidden>
- Date: Mon, 30 May 2005 22:25:06 -0400
On May 30, 2005, at 9:24 PM, Andrew Shamel wrote:
There is indeed a problem with dealloc-ing. However, the cause
remains unclear to me. The object in question is being added to an
NSMutableDictionary before i release it.
Well, the obvious question is whether you really needed to release
the object in question after adding it to the dictionary. How did you
create it? If you created it with +alloc or -copy, or sent it a -
retain, you need to balance that by releasing it. Otherwise you don't.
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden