Move -dismissUpdateInstallation call into basic update driver

This commit is contained in:
Zorg committed 2016-02-21 16:57:54 -05:00
1 parent 0e97f0b4b6
commit f00978c87b
3 files changed
+2 -9

No files matched your search

-2
View File
@@ -117,8 +117,6 @@ static const NSTimeInterval SUAutomaticUpdatePromptImpatienceTimer = 60 * 60 * 2
[self stopUpdatingOnTermination];
[self invalidateShowUpdateAlertTimer];
[self.updater.userUpdaterDriver dismissUpdateInstallation];
[super abortUpdate];
}
+2
View File
@@ -575,6 +575,8 @@
- (void)abortUpdate
{
[self.updater.userUpdaterDriver dismissUpdateInstallation];
[self cleanUpDownload];
[[NSNotificationCenter defaultCenter] removeObserver:self];
self.updateItem = nil;
-7
View File
@@ -159,13 +159,6 @@
[super abortUpdateWithError:error];
}
- (void)abortUpdate
{
[self.updater.userUpdaterDriver dismissUpdateInstallation];
[super abortUpdate];
}
- (void)showNoticeModally:(BOOL)modally noticeHandler:(void (^)(void))noticeHandler
{
if (modally && [[self.updater delegate] respondsToSelector:@selector(updaterWillShowModalAlert:)]) {