We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0db489b + cded20c commit 21656faCopy full SHA for 21656fa
SDWebImage/SDWebImageManager.m
@@ -194,7 +194,9 @@ - (void)diskImageExistsForURL:(NSURL *)url
194
195
if (error.code != NSURLErrorNotConnectedToInternet && error.code != NSURLErrorCancelled && error.code != NSURLErrorTimedOut) {
196
@synchronized (self.failedURLs) {
197
- [self.failedURLs addObject:url];
+ if (![self.failedURLs containsObject:url]) {
198
+ [self.failedURLs addObject:url];
199
+ }
200
}
201
202
0 commit comments