-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Description
NotebookModel
is not deleted after a notebook tab is closed.
Reproduce
- Open jupyterlab.
- Open a notebook.
- Close it.
- Repeat steps 2 and 3 three times.
- Open Chrome DevTools.
- Take a Heap Snapshot.
- Three
NotebookModel
s are present.
Expected behavior
I don't master jupyterlab internal design, but I think no NotebookModel
should be in memory or, at most, only one.
Context
- Browser and version: Chrome 81
- JupyterLab version: 2.1.0