Re: Cocoa-dev Digest, Vol 6, Issue 742
Re: Cocoa-dev Digest, Vol 6, Issue 742
- Subject: Re: Cocoa-dev Digest, Vol 6, Issue 742
- From: Michael Ash <email@hidden>
- Date: Sat, 16 May 2009 13:00:10 -0400
On Sat, May 16, 2009 at 1:30 AM, Tron Thomas <email@hidden> wrote:
> I fixed the problem. It turns out I was forgetting to retain the array. I'm
> not sure why it worked before when I was just creating it in the anonymous
> name space and the -init function.
The bug where you were running code in a context that didn't have an
NSAutoreleasePool hid the bug where you were holding on to an array
that you didn't have ownership of.
Mike
_______________________________________________
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