Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nullify actionbar and view item context on dispose, remove notebook overview ruler on dispose #167817

Merged
merged 1 commit into from Dec 1, 2022

Conversation

jrieken
Copy link
Member

@jrieken jrieken commented Dec 1, 2022

fixes #167813

@jrieken jrieken self-assigned this Dec 1, 2022
@jrieken jrieken enabled auto-merge (squash) December 1, 2022 09:20
@VSCodeTriageBot VSCodeTriageBot added this to the November 2022 milestone Dec 1, 2022
@jrieken jrieken merged commit 33b2e92 into main Dec 1, 2022
@jrieken jrieken deleted the joh/favourite-armadillo branch December 1, 2022 09:35
@@ -2929,6 +2929,8 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
this._baseCellEditorOptions.forEach(v => v.dispose());
this._baseCellEditorOptions.clear();

this._notebookOverviewRulerContainer.remove();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for handling this! This part I don't think I follow. This is holding onto the actionbar somehow? And then the actionbar context holds onto the model?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I don't have a sound explanation tbh. I saw the retainer path in #167813 (comment) and decided to remove the node for good measure

@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NotebookCellTextModel leaks when closing a notebook
4 participants