Port Max's crash fix to my 3.6 fork

This commit is contained in:
Chang Luo 2014-04-16 16:06:22 -07:00
parent db86161132
commit 1f202ed7a3
1 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,9 @@
}
if (self.prefetchURLs.count > self.requestedCount) {
[self startPrefetchingAtIndex:self.requestedCount];
dispatch_async(dispatch_get_main_queue(), ^{
[self startPrefetchingAtIndex:self.requestedCount];
});
}
else if (self.finishedCount + self.skippedCount == self.requestedCount) {
[self reportStatus];