src/vs/workbench/api/browser/mainThreadTerminalService.ts/MainThreadTerminalService/_onTerminalDisposed
class MainThreadTerminalService:	private _onTerminalDisposed(terminalInstance: ITerminalInstance): void {
		this._proxy.$acceptTerminalClosed(terminalInstance.instanceId, terminalInstance.exitCode);
	}