Enable all window restore on quit

Part of #13305
This commit is contained in:
Daniel Imms
2016-11-04 11:04:50 -07:00
parent 8ed9c07f14
commit 5bb2cb8470
7 changed files with 31 additions and 14 deletions

View File

@@ -185,7 +185,7 @@ export class LifecycleService implements ILifecycleService {
c(true); // veto
});
vscodeWindow.send('vscode:beforeUnload', { okChannel: oneTimeOkEvent, cancelChannel: oneTimeCancelEvent });
vscodeWindow.send('vscode:beforeUnload', { okChannelReply: oneTimeOkEvent, cancelChannelReply: oneTimeCancelEvent, quitRequested: this.quitRequested });
});
}