Remove timeout on 'terminate' request (#178714)

See #172284
This commit is contained in:
Rob Lourens 2023-03-30 12:10:31 -07:00 committed by GitHub
parent b244524d08
commit 1a0a08a0f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -311,7 +311,7 @@ export class RawDebugSession implements IDisposable {
if (this.capabilities.supportsTerminateRequest) {
if (!this.terminated) {
this.terminated = true;
return this.send('terminate', { restart }, undefined, 2000);
return this.send('terminate', { restart }, undefined);
}
return this.disconnect({ terminateDebuggee: true, restart });
}