mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-22 04:30:47 +00:00
Merge pull request #1332 from ksuther/downloader-finishTasksAndInvalidate
Use finishTasksAndInvalidate instead of invalidateAndCancel in SPUDownloader
This commit is contained in:
1 file changed
+1
-1
@@ -115,7 +115,7 @@ static NSString *SUDownloadingReason = @"Downloading update related file";
|
||||
{
|
||||
[self enableAutomaticTermination];
|
||||
[self.download cancel];
|
||||
[self.downloadSession invalidateAndCancel];
|
||||
[self.downloadSession finishTasksAndInvalidate];
|
||||
self.download = nil;
|
||||
self.downloadSession = nil;
|
||||
self.delegate = nil;
|
||||
|
||||
Reference in new issue
Block a user