Skip to content

Commit

Permalink
remove temporary method that could be doing nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaspik committed Aug 13, 2018
1 parent 926d4db commit 86c8cc2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions AFNetworking/AFURLSessionManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86c8cc2

Please sign in to comment.