Browse Source

Small fix, this needs to be `strongOperation`

Bogdan Poplauschi 9 năm trước cách đây
mục cha
commit
fdb8b2c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      SDWebImage/SDWebImageManager.m

+ 1 - 1
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);
                 }
             });