Authored by Olivier Poitrey

Merge pull request #635 from burakkilic/patch-1

Update SDWebImagePrefetecher.m
@@ -82,7 +82,7 @@ @@ -82,7 +82,7 @@
82 if (self.prefetchURLs.count > self.requestedCount) { 82 if (self.prefetchURLs.count > self.requestedCount) {
83 [self startPrefetchingAtIndex:self.requestedCount]; 83 [self startPrefetchingAtIndex:self.requestedCount];
84 } 84 }
85 - else if (self.finishedCount == self.requestedCount) { 85 + else if (self.finishedCount + self.skippedCount == self.requestedCount) {
86 [self reportStatus]; 86 [self reportStatus];
87 if (self.completionBlock) { 87 if (self.completionBlock) {
88 self.completionBlock(self.finishedCount, self.skippedCount); 88 self.completionBlock(self.finishedCount, self.skippedCount);