Pārlūkot izejas kodu

Small fix, this needs to be `strongOperation`

Bogdan Poplauschi 9 gadi atpakaļ
vecāks
revīzija
fdb8b2c1c6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);
                 }
             });