Models persist after unmount Editor when use multi model editor
Describe the bug When a Editor is unmounting dispose only the current model. In multi model editors shoud be dispose all model associates to the Editor
To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/s/multi-model-editor-forked-zz347j?file=/src/App.js
- Click on files buttons
- Click on Simulate unmount
- See error, how models persist after unmount the editor
https://codesandbox.io/s/multi-model-editor-forked-zz347j?file=/src/App.js
Has there been any progress on this issue?
Not only creating models, but using "setValue" repeatly can cause leakage also.
Hey, any progress on this?
This issue has been marked as stale due to inactivity. It will be closed in 7 days unless further activity occurs.
Closing due to inactivity. Feel free to reopen if needed.