cancel disconnect runner on attach

This commit is contained in:
Megan Rogge
2021-02-25 11:29:22 -08:00
parent 57c918802b
commit ae186be470
+1 -1
View File
@@ -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);