Re: Autorelease pools?
Re: Autorelease pools?
- Subject: Re: Autorelease pools?
- From: John Stiles <email@hidden>
- Date: Thu, 18 Mar 2004 18:07:34 -0800
On Mar 18, 2004, at 5:47 PM, Kevin Ballard wrote:
Can anybody tell me what's the point of creating your own autorelease
pools when Cocoa automatically creates one for you?
If you make a thread, the autorelease pool for that thread isn't
created for you automatically.
Or, if you write a Carbon app and use NSObjects in it, you also need to
make your own autorelease pool.
If you ever see a warning in the Console about "just leaking", you've
found one of these cases :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.