src/vs/platform/native/electron-main/nativeHostMainService.ts/NativeHostMainService/exit
class NativeHostMainService:	async exit(windowId: number | undefined, code: number): Promise<void> {
		await this.lifecycleMainService.kill(code);
	}