From cf79d1c3aefb0dff7f5a8c806da9ff787a65ea9a Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Thu, 5 Mar 2020 17:00:04 +0800 Subject: [PATCH] Revert the changes to check `SDWebImageRetryFailed` before adding the black list. This is the previous version behavior. --- SDWebImage/Core/SDWebImageManager.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/SDWebImage/Core/SDWebImageManager.m b/SDWebImage/Core/SDWebImageManager.m index c4aff6ac..4d33e6d7 100644 --- a/SDWebImage/Core/SDWebImageManager.m +++ b/SDWebImage/Core/SDWebImageManager.m @@ -495,9 +495,6 @@ static id _defaultImageLoader; error:(nonnull NSError *)error options:(SDWebImageOptions)options context:(nullable SDWebImageContext *)context { - if ((options & SDWebImageRetryFailed)) { - return NO; - } id imageLoader; if ([context[SDWebImageContextImageLoader] conformsToProtocol:@protocol(SDImageLoader)]) { imageLoader = context[SDWebImageContextImageLoader];