Permalink
Browse files

Merge pull request #635 from burakkilic/patch-1

Update SDWebImagePrefetecher.m
  • Loading branch information...
2 parents 2ad8d81 + c04e4ef commit 65acbec16d39a6252975de2c03e4ee895a079347 @rs committed Feb 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 SDWebImage/SDWebImagePrefetcher.m
@@ -82,7 +82,7 @@ - (void)startPrefetchingAtIndex:(NSUInteger)index {
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);

0 comments on commit 65acbec

Please sign in to comment.