We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6996a commit 6e286f8Copy full SHA for 6e286f8
src/vs/platform/terminal/node/ptyService.ts
@@ -747,11 +747,6 @@ class PersistentTerminalProcess extends Disposable {
747
}
748
749
async attach(): Promise<void> {
750
- // Something wrong happened if the disconnect runner is not canceled, this likely means
751
- // multiple windows attempted to attach.
752
- if (!await this._isOrphaned()) {
753
- throw new Error(`Cannot attach to persistent process "${this._persistentProcessId}", it is already adopted`);
754
- }
755
if (!this._disconnectRunner1.isScheduled() && !this._disconnectRunner2.isScheduled()) {
756
this._logService.warn(`Persistent process "${this._persistentProcessId}": Process had no disconnect runners but was an orphan`);
757
0 commit comments