mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
some tweaks for inline debug adaper API; see #85544
This commit is contained in:
@@ -1054,12 +1054,6 @@ class DirectDebugAdapter extends AbstractDebugAdapter {
|
||||
this.acceptMessage(message);
|
||||
});
|
||||
}
|
||||
|
||||
if (this.implementation.onError) {
|
||||
implementation.onError((error: Error) => {
|
||||
this._onError.fire(error);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
startSession(): Promise<void> {
|
||||
@@ -1073,6 +1067,9 @@ class DirectDebugAdapter extends AbstractDebugAdapter {
|
||||
}
|
||||
|
||||
stopSession(): Promise<void> {
|
||||
if (this.implementation.dispose) {
|
||||
this.implementation.dispose();
|
||||
}
|
||||
return Promise.resolve(undefined);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user