freeing memory from an NSOperation
freeing memory from an NSOperation
- Subject: freeing memory from an NSOperation
- From: Michael Thon <email@hidden>
- Date: Mon, 21 Dec 2009 16:41:20 +0100
Are NSOperations freed when they finish running or when the whole queue is finished? My NSOperations seem to hang around, taking up memory even after they have finished their job. At least, as far as I can tell using the Object Allocations instrument which shows them as living. I am using an NSOperation with the garbage collector turned on, on Snow Leopard. I subclassed main and put my computations in there. When the NSOperationQueue is finished they no longer show as live. Is this normal behavior?
Thanks
Mike
_______________________________________________
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