Re: NSOperationQueue question
Re: NSOperationQueue question
- Subject: Re: NSOperationQueue question
- From: Tim Murison <email@hidden>
- Date: Mon, 10 Aug 2009 09:59:48 -0400
- Thread-topic: NSOperationQueue question
> The first thing it should do in main() is invoke
> objc_startCollectorThread() (from <objc/objc-auto.h>) which will
> ensure GC is happening asynchronously, rather than only when the
> autorelease pool is drained.
Thank you.
I added the call to objc_startCollectorThread() and my simple sample no
longer leaks memory.
***********************************************************************
This e-mail and its attachments are confidential, legally privileged, may be subject to copyright and sent solely for the attention of the addressee(s).
Any unauthorized use or disclosure is prohibited. Statements and opinions expressed in this e-mail may not represent those of Radialpoint.
Le contenu de ce courriel est confidentiel, privilégié et peut être soumis à des droits d'auteur. Il est envoyé à l'intention exclusive de son ou de ses
destinataires. Il est interdit de l'utiliser ou de le divulguer sans autorisation. Les opinions exprimées dans le présent courriel peuvent diverger de celles de Radialpoint.
_______________________________________________
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