mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-31 00:10:04 +08:00
fix: restart to update not working on windows (#307441)
This commit is contained in:
@@ -492,7 +492,7 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun
|
||||
}
|
||||
|
||||
protected override doQuitAndInstall(): void {
|
||||
if (this.state.type !== StateType.Ready || !this.availableUpdate) {
|
||||
if ((this.state.type !== StateType.Ready && this.state.type !== StateType.Restarting) || !this.availableUpdate) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user