Re: -[NSURLConnection cancel] doesn't release its delegate?
Re: -[NSURLConnection cancel] doesn't release its delegate?
- Subject: Re: -[NSURLConnection cancel] doesn't release its delegate?
- From: "Stephen J. Butler" <email@hidden>
- Date: Thu, 18 Dec 2008 12:43:49 -0600
Actually, this works for me on 10.5.6, with XCode 3.1.1. The assert
doesn't trigger.
I wonder... NSThread posts an NSThreadWillExitNotification with the
NSThread instance as the object, which is retaining your
ConnectionFactory. Is it possible that since you have no run loops the
notification gets stuck until some run loop runs?
Or it could be a bug that was fixed in the latest release.Try putting
a run loop in your main function instead. I'd try it, but like I said,
I don't think I'm seeing the failure.
_______________________________________________
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