From fdb8b2c1c66e406a56866373f4de492ac4aaafed Mon Sep 17 00:00:00 2001 From: Bogdan Poplauschi Date: Fri, 30 Sep 2016 14:45:44 +0300 Subject: [PATCH] Small fix, this needs to be `strongOperation` --- SDWebImage/SDWebImageManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/SDWebImageManager.m b/SDWebImage/SDWebImageManager.m index 68aca56d..e43867aa 100644 --- a/SDWebImage/SDWebImageManager.m +++ b/SDWebImage/SDWebImageManager.m @@ -273,7 +273,7 @@ // Image not in cache and download disallowed by delegate dispatch_main_async_safe(^{ __strong __typeof(weakOperation) strongOperation = weakOperation; - if (strongOperation && !weakOperation.isCancelled) { + if (strongOperation && !strongOperation.isCancelled) { completedBlock(nil, nil, nil, SDImageCacheTypeNone, YES, url); } });