Skip to content

Commit

Permalink
Temporary fix for SDWebImage#809, until we can figure out the cause o…
Browse files Browse the repository at this point in the history
…f the crash
  • Loading branch information
bpoplauschi authored and devedup committed Sep 10, 2014
1 parent 5915ba7 commit b59c2bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion SDWebImage/SDWebImageManager.m
Expand Up @@ -317,7 +317,11 @@ - (void)cancel {
}
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;
}
}

Expand Down

0 comments on commit b59c2bb

Please sign in to comment.