src/vs/platform/windows/electron-main/windowsStateHandler.ts/WindowsStateHandler/onBeforeShutdown
class WindowsStateHandler:	private onBeforeShutdown(): void {
		this.shuttingDown = true;

		this.saveWindowsState();
	}