From 235e93f0c174252f63285a55f95f69b5ecd24afc Mon Sep 17 00:00:00 2001 From: Zorg Date: Sun, 1 May 2016 13:51:57 -0400 Subject: [PATCH] Dismiss update installation before aborting update This fixes bug where the idle status update is invoked before the install is dismissed. --- Sparkle/SUUIBasedUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUUIBasedUpdateDriver.m b/Sparkle/SUUIBasedUpdateDriver.m index a01df943..03f3c892 100644 --- a/Sparkle/SUUIBasedUpdateDriver.m +++ b/Sparkle/SUUIBasedUpdateDriver.m @@ -197,8 +197,8 @@ - (void)abortUpdateWithError:(nullable NSError *)error { void (^abortUpdate)(void) = ^{ - [self.coreDriver abortUpdateWithError:error]; [self.userDriver dismissUpdateInstallation]; + [self.coreDriver abortUpdateWithError:error]; }; if (error != nil) {