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.
1 parent 472dff1 commit 89aa966Copy full SHA for 89aa966
STNetTaskQueue/STHTTPNetTaskQueueHandler.m
@@ -83,7 +83,7 @@ @interface STHTTPNetTaskQueueHandlerOperation : NSObject <NSURLSessionDataDelega
83
84
@property (nonatomic, strong) STNetTaskQueue *queue;
85
@property (nonatomic, strong) STHTTPNetTask *task;
86
-@property (nonatomic, strong) NSURLSession *session;
+@property (nonatomic, weak) NSURLSession *session;
87
@property (nonatomic, strong) NSURL *baseURL;
88
89
- (void)start;
@@ -220,8 +220,6 @@ - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didComp
220
}
221
[_queue task:_task didFailWithError:error];
222
223
-
224
- task.operation = nil; // Release the operation
225
226
227
#pragma makr - Response data parsing methods
0 commit comments