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

Event listeners are not being removed when an entity is destroyed #5757

Open
ggetz opened this issue Aug 16, 2017 · 1 comment
Open

Event listeners are not being removed when an entity is destroyed #5757

ggetz opened this issue Aug 16, 2017 · 1 comment

Comments

@ggetz
Copy link
Contributor

ggetz commented Aug 16, 2017

Adding entities (or any kind of Cesium object with a definitionChanged object) to an Entity as a non-standard key causes a listener to be added to it, and not removed.

Here's a Sandcastle example showing the issue: https://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=f0bbec7cd261365aaadd3bb991c4261c

Reported on the forum here: https://groups.google.com/forum/#!topic/cesium-dev/bRk7kmcApeo

@ggetz
Copy link
Contributor Author

ggetz commented Sep 14, 2017

Related to #5827

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants