提交 3967570d 编写于 作者: I isidor

debug: increase disconnect timeout from 500 to 1000 ms

上级 fe77b860
......@@ -270,7 +270,7 @@ export class RawDebugSession implements IDisposable {
if (this.capabilities.supportsTerminateRequest) {
if (!this.terminated) {
this.terminated = true;
return this.send('terminate', { restart }, undefined, 500);
return this.send('terminate', { restart }, undefined, 1000);
}
return this.disconnect(restart);
}
......@@ -481,7 +481,7 @@ export class RawDebugSession implements IDisposable {
this.inShutdown = true;
if (this.debugAdapter) {
try {
await this.send('disconnect', { restart }, undefined, 500);
await this.send('disconnect', { restart }, undefined, 1000);
} finally {
this.stopAdapter(error);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册