src/vs/workbench/contrib/terminal/browser/terminalService.ts/TerminalService/_onBeforeShutdownAsync
class TerminalService:	private async _onBeforeShutdownAsync(): Promise<boolean> {
		// veto if configured to show confirmation and the user chose not to exit
		const veto = await this._showTerminalCloseConfirmation();
		if (!veto) {
			this._isShuttingDown = true;
		}
		return veto;
	}