mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Fix bug where updater ignored 3rd stage installation failures
Only prevalent if the updater lives in a different process than the app being updated
This commit is contained in:
1 parent
4240138818
commit
54408ca1a9
1 file changed
+3
-3
Vendored
+3
-3
@@ -353,9 +353,6 @@
|
||||
hasTargetTerminated = (BOOL)*((const uint8_t *)data.bytes + 1);
|
||||
}
|
||||
|
||||
[self.remotePort invalidate];
|
||||
self.remotePort = nil;
|
||||
|
||||
[self.delegate installerWillFinishInstallationAndRelaunch:self.willRelaunch];
|
||||
|
||||
if (!hasTargetTerminated) {
|
||||
@@ -365,6 +362,9 @@
|
||||
} else if (identifier == SUInstallationFinishedStage3) {
|
||||
self.currentStage = identifier;
|
||||
|
||||
[self.remotePort invalidate];
|
||||
self.remotePort = nil;
|
||||
|
||||
[self.localPort invalidate];
|
||||
self.localPort = nil;
|
||||
|
||||
|
||||
Reference in new issue
Block a user