failedURLs can be removed at the appropriate time.
This commit is contained in:
parent
704c630567
commit
9ae8f97425
|
@ -199,6 +199,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if ((options & SDWebImageRetryFailed)) {
|
||||||
|
@synchronized (self.failedURLs) {
|
||||||
|
[self.failedURLs removeObject:url];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly);
|
BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly);
|
||||||
|
|
||||||
if (options & SDWebImageRefreshCached && image && !downloadedImage) {
|
if (options & SDWebImageRefreshCached && image && !downloadedImage) {
|
||||||
|
|
Loading…
Reference in New Issue