mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
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:
1 parent
57c1f3e067
commit
660228fb0e
1 file changed
+6
-1
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user