On 15 May '08, at 2:21 PM, [EMAIL PROTECTED] wrote:
The Cocoa code below "works". I get data back from the server. However, I'm unable to QUIT this application after this particular routine passes through. I checked the Activity Monitor and can see a bunch of threads still in session:
That's expected, and not a problem. CFNetwork uses a background thread to perform its I/O.
[NSApp stop:self]; // <-------- Does not work when above routine was performed.
That's your problem. You should call [NSApp terminate: self] instead. Although you shouldn't even need that — the standard Quit menu command is already bound to that action.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]