Merge pull request #635 from burakkilic/patch-1
Update SDWebImagePrefetecher.m
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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); |
-
Please register or login to post a comment