src/vs/platform/lifecycle/electron-main/lifecycleMainService.ts/LifecycleMainService/resolveRestarted
class LifecycleMainService:	private resolveRestarted(): void {
		this._wasRestarted = !!this.stateMainService.getItem(LifecycleMainService.QUIT_AND_RESTART_KEY);

		if (this._wasRestarted) {
			// remove the marker right after if found
			this.stateMainService.removeItem(LifecycleMainService.QUIT_AND_RESTART_KEY);
		}
	}