This commit is contained in:
isidor 2019-04-05 14:59:44 +02:00
parent 9c00167f2e
commit f8dfbfa457
2 changed files with 2 additions and 1 deletions

View file

@ -797,7 +797,7 @@ export class DebugModel implements IDebugModel {
// Make sure to de-dupe if a session is re-intialized. In case of EH debugging we are adding a session again after an attach.
return false;
}
if (s.state === State.Inactive && s.getLabel() === session.getLabel()) {
if (s.state === State.Inactive && s.configuration.name === session.configuration.name) {
// Make sure to remove all inactive sessions that are using the same configuration as the new session
return false;
}

View file

@ -783,6 +783,7 @@ export class DebugSession implements IDebugSession {
}));
this.rawListeners.push(this.raw.onDidExitAdapter(event => {
this.initialized = true;
this._onDidEndAdapter.fire(event);
}));
}