src/vs/platform/lifecycle/electron-main/lifecycleMainService.ts/LifecycleMainService/resolvePendingQuitPromise
class LifecycleMainService:	private resolvePendingQuitPromise(veto: boolean): void {
		if (this.pendingQuitPromiseResolve) {
			this.pendingQuitPromiseResolve(veto);
			this.pendingQuitPromiseResolve = undefined;
			this.pendingQuitPromise = undefined;
		}
	}