mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 09:35:38 -05:00
Dispose underlying text input in notebook input to clear editor service references correctly. (#21318)
This commit is contained in:
@@ -257,6 +257,7 @@ export abstract class NotebookInput extends EditorInput implements INotebookInpu
|
||||
this._notebookEditorOpenedTimestamp = Date.now();
|
||||
if (this._textInput) {
|
||||
this.hookDirtyListener(this._textInput.onDidChangeDirty, () => this._onDidChangeDirty.fire());
|
||||
this._register(this._textInput);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user