Merge pull request #1111 from molon/master

failedURLs can be removed at the appropriate time.
This commit is contained in:
Konstantinos K. 2015-05-12 08:37:14 +03:00
commit a51688168d
1 changed files with 6 additions and 0 deletions

View File

@ -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) {