Skip to content

Commit 3967570

Browse files
committed
debug: increase disconnect timeout from 500 to 1000 ms
1 parent fe77b86 commit 3967570

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/contrib/debug/browser/rawDebugSession.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export class RawDebugSession implements IDisposable {
270270
if (this.capabilities.supportsTerminateRequest) {
271271
if (!this.terminated) {
272272
this.terminated = true;
273-
return this.send('terminate', { restart }, undefined, 500);
273+
return this.send('terminate', { restart }, undefined, 1000);
274274
}
275275
return this.disconnect(restart);
276276
}
@@ -481,7 +481,7 @@ export class RawDebugSession implements IDisposable {
481481
this.inShutdown = true;
482482
if (this.debugAdapter) {
483483
try {
484-
await this.send('disconnect', { restart }, undefined, 500);
484+
await this.send('disconnect', { restart }, undefined, 1000);
485485
} finally {
486486
this.stopAdapter(error);
487487
}

0 commit comments

Comments
 (0)