提交 828d2179 编写于 作者: I isidor

debug: properly dispose a debug session

fixes #57403
上级 16fc8709
......@@ -432,7 +432,9 @@ export class Session implements ISession {
dispose(): void {
dispose(this.rawListeners);
this.model.clearThreads(this.getId(), true);
this.model.removeSession(this.getId());
this.fetchThreadsScheduler = undefined;
if (!this._raw.disconnected) {
this._raw.disconnect().done(undefined, errors.onUnexpectedError);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册