Merge pull request #635 from burakkilic/patch-1

Update SDWebImagePrefetecher.m
This commit is contained in:
Olivier Poitrey 2014-02-14 02:05:36 -08:00
commit 65acbec16d
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@
if (self.prefetchURLs.count > self.requestedCount) {
[self startPrefetchingAtIndex:self.requestedCount];
}
else if (self.finishedCount == self.requestedCount) {
else if (self.finishedCount + self.skippedCount == self.requestedCount) {
[self reportStatus];
if (self.completionBlock) {
self.completionBlock(self.finishedCount, self.skippedCount);