Re: Garbage collector related crash
Re: Garbage collector related crash
- Subject: Re: Garbage collector related crash
- From: Bill Bumgarner <email@hidden>
- Date: Sun, 10 May 2009 20:03:12 -0700
On May 10, 2009, at 7:22 PM, Chris Idou wrote:
Err, why isn't that a workaround? If retaining it but not freeing it
is a workaround, why wouldn't retaining it and freeing it after I am
done with it work?
Because the cache will end up with with a dangling pointer that you
can't do anything about. As soon as the cache decides to reuse that
slot, BOOM.
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