From 4fa546bc429434942799859222529da2fcfbe55b Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Tue, 30 Jul 2024 12:57:06 +0200 Subject: [PATCH] CommentController.activeCommentThread seems to be the raw object instead of a proxy (#224282) Fixes #223025 --- src/vs/workbench/api/common/extHostComments.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/api/common/extHostComments.ts b/src/vs/workbench/api/common/extHostComments.ts index b9742fa976cd7..05761198ee57a 100644 --- a/src/vs/workbench/api/common/extHostComments.ts +++ b/src/vs/workbench/api/common/extHostComments.ts @@ -641,11 +641,11 @@ export function createExtHostComments(mainContext: IMainContext, commands: ExtHo return this._activeComment; } - private _activeThread: vscode.CommentThread2 | undefined; + private _activeThread: ExtHostCommentThread | undefined; get activeCommentThread(): vscode.CommentThread2 | undefined { checkProposedApiEnabled(this._extension, 'activeComment'); - return this._activeThread; + return this._activeThread?.value; } private _localDisposables: types.Disposable[];