Small fix, this needs to be `strongOperation`

This commit is contained in:
Bogdan Poplauschi 2016-09-30 14:45:44 +03:00
parent c77adf449a
commit fdb8b2c1c6
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@
// Image not in cache and download disallowed by delegate // Image not in cache and download disallowed by delegate
dispatch_main_async_safe(^{ dispatch_main_async_safe(^{
__strong __typeof(weakOperation) strongOperation = weakOperation; __strong __typeof(weakOperation) strongOperation = weakOperation;
if (strongOperation && !weakOperation.isCancelled) { if (strongOperation && !strongOperation.isCancelled) {
completedBlock(nil, nil, nil, SDImageCacheTypeNone, YES, url); completedBlock(nil, nil, nil, SDImageCacheTypeNone, YES, url);
} }
}); });