From e95224bf5f54dd27a8bbcfdb464ee0001255dda8 Mon Sep 17 00:00:00 2001 From: Bogdan Poplauschi Date: Wed, 23 Jul 2014 08:13:25 +0300 Subject: [PATCH] Temporary fix for #809, until we can figure out the cause of the crash --- SDWebImage/SDWebImageManager.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } }