Here is my code.
- (void) connectionDidFinishLoading: (NSURLConnection *) connection
{
//Each connection has its own "downloadedData".
BOOL writeFlag = [downloadedData writeToFile: filePath atomically: YES];
}
I have multiple NSURLConnections at the same time.Each connection corresponds to one download item.App crashes when multiple downloads finish at the same time.Is this method thread-safe?
It says:
_serverConnectionDiedNotification. Info -- notification=NSConcreteNotification 0x11d90470{name = AVController_ServerConnectionDiedNotification; object = <AVController: 0x11d855a0>},
AVController = <AVController: 0x11d855a0>,currentTime = 0.00
Program received signal: “0”.
warning: check_safe_call: could not restore current frame
THANKS!