提交 b8a6e99b 编写于 作者: I isidor

fixes #35345

上级 6eed773e
......@@ -531,13 +531,12 @@ export class Process implements IProcess {
public sources: Map<string, Source>;
private threads: Map<number, Thread>;
private inactive = true;
public inactive = true;
constructor(public configuration: IConfig, private _session: ISession & ITreeElement) {
this.threads = new Map<number, Thread>();
this.sources = new Map<string, Source>();
this._session.onDidInitialize(() => this.inactive = false);
this._session.onDidExitAdapter(() => this.inactive = true);
}
public get session(): ISession {
......
......@@ -1074,6 +1074,7 @@ export class DebugService implements debug.IDebugService {
this.model.removeProcess(session.getId());
if (process && process.state !== debug.ProcessState.INACTIVE) {
process.inactive = true;
this._onDidEndProcess.fire(process);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册