Skip to content

Commit

Permalink
fixes #12112 Removing exited thread from threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Ovsyankin committed May 18, 2023
1 parent 2f8b8b6 commit b0e4c35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/debug/src/browser/debug-session.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,8 @@ export class DebugSession implements CompositeTreeElement {
if (reason === 'started') {
this.scheduleUpdateThreads();
} else if (reason === 'exited') {
this.clearThread(threadId);
this._threads.delete(threadId);
this.updateCurrentThread();
}
};

Expand Down

0 comments on commit b0e4c35

Please sign in to comment.