Skip to content

Commit 9652487

Browse files
committed
1 parent 4e370ba commit 9652487

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/parts/preferences/browser/preferencesWidgets.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ export class SearchWidget extends Widget {
345345
private createSearchContainer(searchContainer: HTMLElement) {
346346
this.searchContainer = searchContainer;
347347
const searchInput = DOM.append(this.searchContainer, DOM.$('div.settings-search-input'));
348-
this.inputBox = this.createInputBox(searchInput);
349-
this.inputBox.onDidChange(value => this._onDidChange.fire(value));
348+
this.inputBox = this._register(this.createInputBox(searchInput));
349+
this._register(this.inputBox.onDidChange(value => this._onDidChange.fire(value)));
350350
this.onkeydown(this.inputBox.inputElement, (e) => this._onKeyDown(e));
351351
}
352352

0 commit comments

Comments
 (0)