Merge pull request #1111 from molon/master
failedURLs can be removed at the appropriate time.
Showing
1 changed file
with
6 additions
and
0 deletions
@@ -199,6 +199,12 @@ | @@ -199,6 +199,12 @@ | ||
199 | } | 199 | } |
200 | } | 200 | } |
201 | else { | 201 | else { |
202 | + if ((options & SDWebImageRetryFailed)) { | ||
203 | + @synchronized (self.failedURLs) { | ||
204 | + [self.failedURLs removeObject:url]; | ||
205 | + } | ||
206 | + } | ||
207 | + | ||
202 | BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly); | 208 | BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly); |
203 | 209 | ||
204 | if (options & SDWebImageRefreshCached && image && !downloadedImage) { | 210 | if (options & SDWebImageRefreshCached && image && !downloadedImage) { |
-
Please register or login to post a comment