Re: NSLock and AutoreleasePool question
Re: NSLock and AutoreleasePool question
- Subject: Re: NSLock and AutoreleasePool question
- From: Development <email@hidden>
- Date: Wed, 16 Jan 2008 09:06:17 -0700
On Jan 15, 2008, at 11:53 PM, stephen joseph butler wrote:
As long as you both (a) create the autorelease pool and (b) release
the autorelease pool on the SAME THREAD then you're fine. My guess is
that you're getting crashes for the same reason most people get
crashes: you're over-releasing an object that's in the pool. It's
probably not a thread specific issue, but a general memory management
one.
Hmm. that makes sense. I'll make sure I'm not releasing the same
object more than I should be.
Thank you.
_______________________________________________
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