Skip to content

Commit

Permalink
Cancel second disconnect runner on proc attach
Browse files Browse the repository at this point in the history
Fixes #118276
  • Loading branch information
Tyriar committed Jun 16, 2021
1 parent d9062d9 commit b81e9c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/platform/terminal/node/ptyService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ export class PersistentTerminalProcess extends Disposable {

attach(): void {
this._disconnectRunner1.cancel();
this._disconnectRunner2.cancel();
}

async detach(): Promise<void> {
Expand Down

0 comments on commit b81e9c4

Please sign in to comment.