diff --git a/SDWebImage/SDWebImageManager.m b/SDWebImage/SDWebImageManager.m index a8f93610..2781ec87 100644 --- a/SDWebImage/SDWebImageManager.m +++ b/SDWebImage/SDWebImageManager.m @@ -317,7 +317,11 @@ } if (self.cancelBlock) { self.cancelBlock(); - self.cancelBlock = nil; + + // TODO: this is a temporary fix to #809. + // Until we can figure the exact cause of the crash, going with the ivar instead of the setter +// self.cancelBlock = nil; + _cancelBlock = nil; } }