File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ - (NSString *)sessionIDFromAsyncPOSTRequest:(NSURLRequest *)request
128
128
129
129
if (didWriteFile) {
130
130
// Exclude this file from backing up to iTunes. There are conflicting reports that excluding
131
- // directory from backing up does not exclude files of that directory from backing up.
131
+ // directory from backing up does not excluding files of that directory from backing up.
132
132
[self excludeFromBackupForURL: _uploadingFileURL];
133
133
134
134
_sessionConfig = [self backgroundSessionConfigWithSessionID: _sessionID];
@@ -240,7 +240,6 @@ - (void)URLSession:(NSURLSession *)session
240
240
context: error];
241
241
_downloadedData = nil ;
242
242
}
243
- [session finishTasksAndInvalidate ];
244
243
}
245
244
246
245
#if TARGET_OS_IOS || TARGET_OS_TV
@@ -251,7 +250,6 @@ - (void)URLSessionDidFinishEventsForBackgroundURLSession:(NSURLSession *)session
251
250
message: @" Background session finished"
252
251
context: session.configuration.identifier];
253
252
[self callSystemCompletionHandler: session.configuration.identifier];
254
- [session finishTasksAndInvalidate ];
255
253
}
256
254
#endif
257
255
@@ -286,7 +284,6 @@ - (void)URLSession:(NSURLSession *)session
286
284
// Try to clean up stale files again.
287
285
[self maybeRemoveTempFilesAtURL: _networkDirectoryURL
288
286
expiringTime: kGULNetworkTempFolderExpireTime ];
289
- [session finishTasksAndInvalidate ];
290
287
}
291
288
292
289
- (void )URLSession : (NSURLSession *)session
You can’t perform that action at this time.
0 commit comments