From 6d0d1a7aa81b87133ec600b5ec574f58df28e2f7 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 24 Apr 2021 19:40:54 -0700 Subject: [PATCH] Add comment about clearing download after beginning installation --- Sparkle/SPUCoreBasedUpdateDriver.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Sparkle/SPUCoreBasedUpdateDriver.m b/Sparkle/SPUCoreBasedUpdateDriver.m index 1d8a48d4..a769fe08 100644 --- a/Sparkle/SPUCoreBasedUpdateDriver.m +++ b/Sparkle/SPUCoreBasedUpdateDriver.m @@ -272,6 +272,7 @@ } else { // If the installer started properly, we can't use the downloaded update archive anymore // Especially if the installer fails later and we try resuming the update with a missing archive file + // We must clear the download after the installer begins using it however (in -installerDidStartInstalling) self.downloadedUpdateForRemoval = downloadedUpdate; self.resumableUpdate = nil;