We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb8c9db + 18bfff5 commit bbf05deCopy full SHA for bbf05de
Pod/Classes/PINURLSessionManager.m
@@ -72,10 +72,10 @@ - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didComp
72
[self.delegate didCompleteTask:task withError:error];
73
[self lock];
74
void (^completionHandler)(NSURLResponse *, NSError *) = self.completions[@(task.taskIdentifier)];
75
+ [self.completions removeObjectForKey:@(task.taskIdentifier)];
76
[self unlock];
77
if (completionHandler) {
78
completionHandler(task.response, error);
- [self.completions removeObjectForKey:@(task.taskIdentifier)];
79
}
80
81
0 commit comments