From 660228fb0eb7e10b3c4acaf3bcf2c978d31fd688 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Sat, 5 Jul 2008 14:08:31 -0700 Subject: [PATCH] Fixes 245744 Fixed a bug where the user-initiated updater could abort through abnormal means, making the "checking for updates..." window never able to go away. --- SUUserInitiatedUpdateDriver.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SUUserInitiatedUpdateDriver.m b/SUUserInitiatedUpdateDriver.m index 667dd631..9c45a026 100644 --- a/SUUserInitiatedUpdateDriver.m +++ b/SUUserInitiatedUpdateDriver.m @@ -48,6 +48,12 @@ [super appcastDidFinishLoading:ac]; } +- (void)abortUpdate +{ + [self closeCheckingWindow]; + [super abortUpdate]; +} + - (void)appcast:(SUAppcast *)ac failedToLoadWithError:(NSError *)error { if (isCanceled) @@ -55,7 +61,6 @@ [self abortUpdate]; return; } - [self closeCheckingWindow]; [super appcast:ac failedToLoadWithError:error]; }