diff --git a/src/view/pullRequestCommentController.ts b/src/view/pullRequestCommentController.ts index 5081fb4139..ca45e0133f 100644 --- a/src/view/pullRequestCommentController.ts +++ b/src/view/pullRequestCommentController.ts @@ -526,6 +526,7 @@ export class PullRequestCommentController extends CommentControllerBase implemen private removeAllCommentsThreads(): void { Object.keys(this._commentThreadCache).forEach(key => { disposeAll(this._commentThreadCache[key]); + delete this._commentThreadCache[key]; }); }