Re: NSAutoreleasePool dilemma
Re: NSAutoreleasePool dilemma
- Subject: Re: NSAutoreleasePool dilemma
- From: John Stiles <email@hidden>
- Date: Wed, 19 Oct 2005 15:53:08 -0700
I think by the time you reach atexit, Cocoa may have already done
cleanup of its own, so you could end up with bizarre results.
On Oct 19, 2005, at 3:44 PM, David Catmull wrote:
So it seems the problem was related to releasing the pool as the
process was shutting down (through the use of std::atexit()). If I
only create the pool in a just-in-time manner as needed, I get no
log warnings. It's a little more complicated, but I guess it's a
more appropriate use of autorelease pools anyway.
--
David Catmull
email@hidden
http://www.uncommonplace.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden