mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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();
|
this._notebookEditorOpenedTimestamp = Date.now();
|
||||||
if (this._textInput) {
|
if (this._textInput) {
|
||||||
this.hookDirtyListener(this._textInput.onDidChangeDirty, () => this._onDidChangeDirty.fire());
|
this.hookDirtyListener(this._textInput.onDidChangeDirty, () => this._onDidChangeDirty.fire());
|
||||||
|
this._register(this._textInput);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user