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

Dispose workspace to avoid memory leak #56

Open
Merlin04 opened this issue Nov 27, 2020 · 1 comment
Open

Dispose workspace to avoid memory leak #56

Merlin04 opened this issue Nov 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Merlin04
Copy link
Member

Merlin04 commented Nov 27, 2020

https://groups.google.com/g/blockly/c/kO73J-XImMw
Currently we do not call dispose before loading the new workspace XML.

@Merlin04 Merlin04 added the bug Something isn't working label Nov 27, 2020
@Merlin04
Copy link
Member Author

I tried adding Blockly.getMainWorkspace().dispose(); before the new XML is loaded in but it deleted the editor and didn't recreate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant