Re: Autorelease Question
Re: Autorelease Question
- Subject: Re: Autorelease Question
- From: Luke the Hiesterman <email@hidden>
- Date: Wed, 19 Nov 2008 16:33:25 -0800
Nothing prevents someone from running their own runloop, but I dealt
with the most common case. Also, if you use your own
NSAutoreleasePool, it's even easier to know when autoreleases will
happen, because you're doing your own [pool drain];
Luke
On Nov 19, 2008, at 4:24 PM, Kyle Sluder wrote:
On Wed, Nov 19, 2008 at 6:44 PM, Luke the Hiesterman <email@hidden
> wrote:
It's simply not true that you have "no idea" when an object will be
autoreleased. If you're on the main thread, you know that it will be
released at the end of the runloop, and you know that your current
method
will return to its caller within the current runloop.
What prevents someone from manually running the runloop?
--Kyle Sluder
_______________________________________________
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