提交 6f47eda0 编写于 作者: I isidor

debug: on socket close exit the server

fixes #4861
上级 bf9fe229
...@@ -219,6 +219,7 @@ export class RawDebugSession extends v8.V8Protocol implements debug.IRawDebugSes ...@@ -219,6 +219,7 @@ export class RawDebugSession extends v8.V8Protocol implements debug.IRawDebugSes
this.socket.on('error', (err: any) => { this.socket.on('error', (err: any) => {
e(err); e(err);
}); });
this.socket.on('close', () => this.onServerExit());
}); });
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册