Re: Strange "autoreleased with no pool in place" message
Re: Strange "autoreleased with no pool in place" message
- Subject: Re: Strange "autoreleased with no pool in place" message
- From: Jens Alfke <email@hidden>
- Date: Sat, 17 Apr 2010 12:30:47 -0700
On Apr 17, 2010, at 12:18 PM, Alexander Bokovikov wrote:
> *** _NSAutoreleaseNoPool(): Object 0x209fa0 of class NSCFString autoreleased with no pool in place - just leaking
Set a breakpoint at _NSAutoreleaseNoPool and start the app. That should show you where it’s happening. Most likely you started an NSThread without putting an autorelease pool in the thread’s main function, or you got a callback on some thread and are making Cocoa calls on it without wrapping your callback in an autorelease pool.
—Jens_______________________________________________
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