Re: Question on threads running in my Foundation tool
Re: Question on threads running in my Foundation tool
- Subject: Re: Question on threads running in my Foundation tool
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 20 Feb 2009 12:02:58 -0700
On Feb 20, 2009, at 11:55 AM, Charles E. Heizer wrote:
Ok, so I have the NSURLRequest in my main method ( included snippet
of my code ) so what your saying is if I delegate the NSURLRequest
to a NSRunLoop it will clean it's self up?
You don't appear to have any run loop running in your code. Just
creating and running a run loop at some point ought to clear up the
threads left over by NSTask and NSURLWhatever.
I wouldn't worry too much about them, though, unless you're creating
an insane amount (e.g. thousands) of tasks or requests.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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