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:
Zorg committed 2016-05-01 13:51:57 -04:00
1 parent 7d8d5d1f46
commit 235e93f0c1
1 file changed
+1 -1
+1 -1
View File
@@ -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) {