We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2437c22 commit 11ab313Copy full SHA for 11ab313
src/debugAdapter.ts
@@ -53,6 +53,7 @@ export class NamedPipeDebugAdapter implements DebugAdapter {
53
54
// When the socket closes, end the session.
55
this._debugServiceSocket.on("close", () => { this.dispose(); });
56
+ this._debugServiceSocket.on("end", () => { this.dispose(); });
57
}
58
59
public handleMessage(message: DebugProtocolMessage): void {
@@ -66,6 +67,7 @@ export class NamedPipeDebugAdapter implements DebugAdapter {
66
67
68
public dispose() {
69
this._debugServiceSocket.destroy();
70
+ this._sendMessage.fire({ type: 'event', event: 'terminated' });
71
this._sendMessage.dispose();
72
73
0 commit comments