src/vs/workbench/contrib/terminal/browser/terminalEditorInput.ts/TerminalEditorInput/detachInstance
class TerminalEditorInput:	detachInstance() {
		if (!this._isShuttingDown) {
			this._terminalInstance?.detachFromElement();
			this._isDetached = true;
		}
	}