From 9725c8da7284ccc87a0e79bd0007a8ce66afae16 Mon Sep 17 00:00:00 2001 From: zhongwuzw Date: Wed, 26 Dec 2018 20:29:09 +0800 Subject: [PATCH] Remove edge case check --- SDWebImage/SDWebImageDownloaderOperation.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/SDWebImage/SDWebImageDownloaderOperation.m b/SDWebImage/SDWebImageDownloaderOperation.m index 69887e2f..34d701b0 100644 --- a/SDWebImage/SDWebImageDownloaderOperation.m +++ b/SDWebImage/SDWebImageDownloaderOperation.m @@ -64,11 +64,6 @@ typedef NSMutableDictionary SDCallbacksDictionary; @synthesize executing = _executing; @synthesize finished = _finished; -- (void)dealloc { - // Edge case if user call [SDWebImageDownloaderOperation start] directly and deallocated it. - [self cancel]; -} - - (nonnull instancetype)init { return [self initWithRequest:nil inSession:nil options:0]; }