Skip to content

Commit

Permalink
dispose listener #63467
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Nov 22, 2018
1 parent d669936 commit 4852f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/suggest/wordContextKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class WordContextKey {
@IContextKeyService contextKeyService: IContextKeyService,
) {
this._ckAtEnd = WordContextKey.AtEnd.bindTo(contextKeyService);
this._editor.onDidChangeConfiguration(e => e.contribInfo && this._update());
this._confListener = this._editor.onDidChangeConfiguration(e => e.contribInfo && this._update());
this._update();
}

Expand Down

0 comments on commit 4852f20

Please sign in to comment.