Skip to content

Commit 3b78c48

Browse files
authored
Comments don't show on non-checked out PR when closing and re-opening the file from the PRs veiw (#6573)
Fixes #6571
1 parent 03410cb commit 3b78c48

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/view/pullRequestCommentController.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ export class PullRequestCommentController extends CommentControllerBase implemen
526526
private removeAllCommentsThreads(): void {
527527
Object.keys(this._commentThreadCache).forEach(key => {
528528
disposeAll(this._commentThreadCache[key]);
529+
delete this._commentThreadCache[key];
529530
});
530531
}
531532

0 commit comments

Comments
 (0)