mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Dismiss update installation before aborting update
This fixes bug where the idle status update is invoked before the install is dismissed.
This commit is contained in:
1 parent
7d8d5d1f46
commit
235e93f0c1
1 file changed
+1
-1
Vendored
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user