Merge pull request #698 from salling/master
Fixing race in SDWebImageDownloaderOperation leading to erroneous timeout.
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -129,6 +129,7 @@ | @@ -129,6 +129,7 @@ | ||
129 | } | 129 | } |
130 | 130 | ||
131 | - (void)cancelInternalAndStop { | 131 | - (void)cancelInternalAndStop { |
132 | + if (self.isFinished) return; | ||
132 | [self cancelInternal]; | 133 | [self cancelInternal]; |
133 | CFRunLoopStop(CFRunLoopGetCurrent()); | 134 | CFRunLoopStop(CFRunLoopGetCurrent()); |
134 | } | 135 | } |
-
Please register or login to post a comment