Skip to content

Commit c7f5a76

Browse files
authored
Merge pull request #2142 from microsoft/connor4312/vs-2296984
fix: extraneous threads continued event during shutdown at bp
2 parents f1fe28b + 4c40d3e commit c7f5a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adapter/threads.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ export class Thread implements IVariableStoreLocationProvider {
972972
}
973973
this._breakpointManager.executionContextWasCleared();
974974

975-
if (pausedDetails && pausedDetails === this._pausedDetails) {
975+
if (pausedDetails && pausedDetails === this._pausedDetails && !this.disposed) {
976976
this.onResumed();
977977
}
978978
}

0 commit comments

Comments
 (0)