Merge pull request #735 from nickhingston/pullRequestBranch

If NSURLConnection response statusCode not valid (e.g. 404) , downloader...
This commit is contained in:
Olivier Poitrey 2014-06-02 10:10:16 -07:00
commit 4566b67f98
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@
if (self.completedBlock) {
self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:[((NSHTTPURLResponse *)response) statusCode] userInfo:nil], YES);
}
CFRunLoopStop(CFRunLoopGetCurrent());
[self done];
}
}