mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-30 21:41:46 +01:00
fix #59139
This commit is contained in:
@@ -174,6 +174,7 @@ class MainThreadDocumentAndEditorStateComputer {
|
||||
) {
|
||||
this._modelService.onModelAdded(this._updateStateOnModelAdd, this, this._toDispose);
|
||||
this._modelService.onModelRemoved(_ => this._updateState(), this, this._toDispose);
|
||||
this._editorService.onDidActiveEditorChange(_ => this._updateState(), this, this._toDispose);
|
||||
|
||||
this._codeEditorService.onCodeEditorAdd(this._onDidAddEditor, this, this._toDispose);
|
||||
this._codeEditorService.onCodeEditorRemove(this._onDidRemoveEditor, this, this._toDispose);
|
||||
|
||||
Reference in New Issue
Block a user