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