Skip to content

Commit

Permalink
Update AFImageDownloader.m
Browse files Browse the repository at this point in the history
  • Loading branch information
bbeversdorf authored Jul 13, 2018
1 parent 1c52c76 commit 342653f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UIKit+AFNetworking/AFImageDownloader.m
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ - (nullable AFImageDownloadReceipt *)downloadImageForURLRequest:(NSURLRequest *)
completionHandler:^(NSURLResponse * _Nonnull response, id _Nullable responseObject, NSError * _Nullable error) {
dispatch_async(self.responseQueue, ^{
__strong __typeof__(weakSelf) strongSelf = weakSelf;
AFImageDownloaderMergedTask *mergedTask = [strongSelf safelyGetMergedTask: URLIdentifier];
AFImageDownloaderMergedTask *mergedTask = [strongSelf safelyGetMergedTask:URLIdentifier];
if ([mergedTask.identifier isEqual:mergedTaskIdentifier]) {
mergedTask = [strongSelf safelyRemoveMergedTaskWithURLIdentifier:URLIdentifier];
if (error) {
Expand Down

0 comments on commit 342653f

Please sign in to comment.