mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Only trigger update delegate error abort when there's an error
This commit is contained in:
1 parent
a4157e5989
commit
981f67e8b1
1 file changed
+5
-5
Vendored
+5
-5
@@ -152,11 +152,11 @@
|
||||
errorToDisplay = errorToDisplay.userInfo[NSUnderlyingErrorKey];
|
||||
} while(--finiteRecursion && errorToDisplay);
|
||||
}
|
||||
}
|
||||
|
||||
// Notify host app that update has aborted
|
||||
if ([self.updaterDelegate respondsToSelector:@selector(updater:didAbortWithError:)]) {
|
||||
[self.updaterDelegate updater:self.updater didAbortWithError:error];
|
||||
|
||||
// Notify host app that update has aborted
|
||||
if ([self.updaterDelegate respondsToSelector:@selector(updater:didAbortWithError:)]) {
|
||||
[self.updaterDelegate updater:self.updater didAbortWithError:error];
|
||||
}
|
||||
}
|
||||
|
||||
if (self.completionBlock != nil) {
|
||||
|
||||
Reference in new issue
Block a user