failedURLs can be removed at the appropriate time.

This commit is contained in:
molon 2015-04-08 18:24:52 +08:00
parent 704c630567
commit 9ae8f97425
1 changed files with 6 additions and 0 deletions

View File

@ -199,6 +199,12 @@
}
}
else {
if ((options & SDWebImageRetryFailed)) {
@synchronized (self.failedURLs) {
[self.failedURLs removeObject:url];
}
}
BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly);
if (options & SDWebImageRefreshCached && image && !downloadedImage) {