NSOperations leaking ports
NSOperations leaking ports
- Subject: NSOperations leaking ports
- From: "Michael Hanna" <email@hidden>
- Date: Mon, 11 Feb 2008 23:13:34 -0800
My application uses NSOperation/Queue to retrieve images off of the
web (I use the ObjectiveFlickr API and NSURLConnection). I find that
when I run the application though, in top I have a huge number of
ports open, #PRTS(upward of 1500 after creating many NSOperations). I
have looked around my code but not sure of the best place to look for
solutions to the issue. So far I've tried simply calling [self cancel]
when I'm certain the NSOperation is no longer needed.
Any other suggestions on how to diagnose/solve the issue?
Michael
_______________________________________________
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