Remove edge case check
This commit is contained in:
parent
9617a34408
commit
de74bdca80
|
@ -65,11 +65,6 @@ typedef NSMutableDictionary<NSString *, id> SDCallbacksDictionary;
|
||||||
@synthesize executing = _executing;
|
@synthesize executing = _executing;
|
||||||
@synthesize finished = _finished;
|
@synthesize finished = _finished;
|
||||||
|
|
||||||
- (void)dealloc {
|
|
||||||
// Edge case if user call [SDWebImageDownloaderOperation start] directly and deallocated it.
|
|
||||||
[self cancel];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (nonnull instancetype)init {
|
- (nonnull instancetype)init {
|
||||||
return [self initWithRequest:nil inSession:nil options:0];
|
return [self initWithRequest:nil inSession:nil options:0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue