Merge pull request #1111 from molon/master
failedURLs can be removed at the appropriate time.
This commit is contained in:
commit
a51688168d
|
@ -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