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.
This commit is contained in:
Andy Matuschak committed 2008-07-05 14:08:31 -07:00
1 parent 57c1f3e067
commit 660228fb0e
1 file changed
+6 -1
+6 -1
View File
@@ -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];
}