src/vs/workbench/api/browser/mainThreadTerminalService.ts/MainThreadTerminalService/$dispose
class MainThreadTerminalService:	public async $dispose(id: ExtHostTerminalIdentifier): Promise<void> {
		(await this._getTerminalInstance(id))?.dispose();
	}