Small fix, this needs to be `strongOperation`
This commit is contained in:
parent
c77adf449a
commit
fdb8b2c1c6
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue