mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
cancel disconnect runner on attach
This commit is contained in:
@@ -96,7 +96,7 @@ export class PtyService extends Disposable implements IPtyService {
|
||||
|
||||
async attachToProcess(id: number): Promise<void> {
|
||||
try {
|
||||
this._throwIfNoPty(id);
|
||||
this._throwIfNoPty(id).attach();
|
||||
this._logService.trace(`Persistent terminal reconnection "${id}"`);
|
||||
} catch (e) {
|
||||
this._logService.trace(`Persistent terminal reconnection "${id}" failed`, e.message);
|
||||
|
||||
Reference in New Issue
Block a user