Re: NSURLConnection crash
Re: NSURLConnection crash
- Subject: Re: NSURLConnection crash
- From: Andreas Mayer <email@hidden>
- Date: Sun, 11 Feb 2007 11:27:41 +0100
Am 11.02.2007 um 10:43 Uhr schrieb Jesus De Meyer:
Now that I finally had the rss feed for del.icio.us working another
problem arises. When I try to get the RSS feed from Slashdot
(http://slashdot.org/index.rss), my app crashes:
I guess the connection gets released and deallocated before it's done.
NSURLConnection *connection = [NSURLConnection
connectionWithRequest:request delegate:self];
You should retain it here and release when it' s finished.
Andreas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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