Re: Memory management with arrays
Re: Memory management with arrays
- Subject: Re: Memory management with arrays
- From: Bill Bumgarner <email@hidden>
- Date: Sun, 10 Feb 2008 09:39:09 -0800
On Feb 10, 2008, at 5:36 AM, Scott Andrew wrote:
True.. (late night). So basically. Put a break in bar's dealloc. See
were the extra dealloc is cooming from.
Scott
There won't be an "extra dealloc" -- once dealloc'd, the object is
dead. There is an extra -release coming first, but breaking on -
release won't help, either as the object is dead by the time it happens.
As I said, run the app with "-NSZombieEnabled YES". This will cause
a proxy to be dropped into memory in place of every dealloc'd object
and said proxy will warn when messaged (because it should never be
messaged).
b.bum
_______________________________________________
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