From d6c200ea57fc3104af1c237dfd16ff0d83c3ad2a Mon Sep 17 00:00:00 2001 From: Rachel Macfarlane Date: Fri, 1 Mar 2019 10:47:58 -0800 Subject: [PATCH] Initialize disposables array in commentThreadWidget --- .../contrib/comments/electron-browser/commentThreadWidget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/comments/electron-browser/commentThreadWidget.ts b/src/vs/workbench/contrib/comments/electron-browser/commentThreadWidget.ts index 79fb58de164..973dd5a3292 100644 --- a/src/vs/workbench/contrib/comments/electron-browser/commentThreadWidget.ts +++ b/src/vs/workbench/contrib/comments/electron-browser/commentThreadWidget.ts @@ -117,7 +117,7 @@ export class ReviewZoneWidget extends ZoneWidget { this._draftMode = draftMode; this._isCollapsed = commentThread.collapsibleState !== modes.CommentThreadCollapsibleState.Expanded; this._globalToDispose = []; - this._disposables = []; + this._submitActionsDisposables = []; this._formActions = null; this.create();