fixes #71671
This commit is contained in:
parent
9c00167f2e
commit
f8dfbfa457
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -783,6 +783,7 @@ export class DebugSession implements IDebugSession {
|
|||
}));
|
||||
|
||||
this.rawListeners.push(this.raw.onDidExitAdapter(event => {
|
||||
this.initialized = true;
|
||||
this._onDidEndAdapter.fire(event);
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue