Try to remove the unused NSNotification object filter, do filter by ourself
This commit is contained in:
parent
9078f316f7
commit
cae43d7c88
|
@ -556,8 +556,8 @@ didReceiveResponse:(NSURLResponse *)response
|
|||
self = [super init];
|
||||
if (self) {
|
||||
_downloadOperation = downloadOperation;
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(downloadDidReceiveResponse:) name:SDWebImageDownloadReceiveResponseNotification object:downloadOperation];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(downloadDidStop:) name:SDWebImageDownloadStopNotification object:downloadOperation];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(downloadDidReceiveResponse:) name:SDWebImageDownloadReceiveResponseNotification object:nil];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(downloadDidStop:) name:SDWebImageDownloadStopNotification object:nil];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue