Skip to content

Commit

Permalink
Merge pull request SDWebImage#1017 from warld-limited/prefetcher_patch
Browse files Browse the repository at this point in the history
[Memory Issue] Clear SDWebImagePrefetcher progressBlock when it has completed
  • Loading branch information
bpoplauschi committed Mar 19, 2015
2 parents 7f99c01 + 0e04794 commit 6e94724
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SDWebImage/SDWebImagePrefetcher.m
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ - (void)startPrefetchingAtIndex:(NSUInteger)index {
self.completionBlock(self.finishedCount, self.skippedCount);
self.completionBlock = nil;
}
self.progressBlock = nil;
}
}];
}
Expand Down

0 comments on commit 6e94724

Please sign in to comment.