Re: Autorelease pool question
Re: Autorelease pool question
- Subject: Re: Autorelease pool question
- From: Shawn Erickson <email@hidden>
- Date: Tue, 13 Jan 2004 08:00:29 -0800
On Jan 13, 2004, at 6:25 AM, Timothy Reaves wrote:
According to Apple's documentation, "the Application Kit
automatically sets up an autorelease pool scoped to the applications
event cycle." So does this mean that each event has its own pool, or
that the event handler has the pool?
Every run of the event loop is wrapped by an autorelease pool. So at
the end of processing the current event the current auto release pool
is releases.
-Shawn
_______________________________________________
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.