mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-18 09:29:42 +01:00
debug: ignore error when stopping a process (#236009)
ERR Invalid debug adapter: Error: Invalid debug adapter
This commit is contained in:
@@ -397,7 +397,8 @@ export class MainThreadDebugService implements MainThreadDebugServiceShape, IDeb
|
||||
}
|
||||
|
||||
public $acceptDAExit(handle: number, code: number, signal: string) {
|
||||
this.getDebugAdapter(handle).fireExit(handle, code, signal);
|
||||
// don't use getDebugAdapter since an error can be expected on a post-close
|
||||
this._debugAdapters.get(handle)?.fireExit(handle, code, signal);
|
||||
}
|
||||
|
||||
private getDebugAdapter(handle: number): ExtensionHostDebugAdapter {
|
||||
|
||||
Reference in New Issue
Block a user