From 86c8cc226334dd1a669f2665d42f54225702ec0e Mon Sep 17 00:00:00 2001 From: Jakub Kaspar Date: Mon, 13 Aug 2018 22:34:41 +0200 Subject: [PATCH] remove temporary method that could be doing nothing --- AFNetworking/AFURLSessionManager.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/AFNetworking/AFURLSessionManager.m b/AFNetworking/AFURLSessionManager.m index 0bb5f7d1cd..4db61537df 100644 --- a/AFNetworking/AFURLSessionManager.m +++ b/AFNetworking/AFURLSessionManager.m @@ -1088,12 +1088,6 @@ - (void)URLSession:(NSURLSession *)session if (self.taskDidComplete) { self.taskDidComplete(session, task, error); } - - if (self.mutableTaskDelegatesKeyedByTaskIdentifier.allKeys.count == 0) { - @synchronized (self) { - [self invalidateSessionCancelingTasks:NO]; - } - } } #pragma mark - NSURLSessionDataDelegate