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

Cesium map listeners not removed when map is closed #2549

Open
robyngit opened this issue Oct 15, 2024 · 0 comments · May be fixed by #2550
Open

Cesium map listeners not removed when map is closed #2549

robyngit opened this issue Oct 15, 2024 · 0 comments · May be fixed by #2550
Assignees
Milestone

Comments

@robyngit
Copy link
Member

When navigating away from the Cesium map in the data catalog view, the mouse listeners are sometimes still active, as can be seen from a number of errors in the dev console:

image

The above error is repeated continuously after navigating from the data catalog to a dataset landing page

I can reproduce this in Firefox but not Chrome. Either way, these listeners should be removed when the map is removed from the DOM.

@robyngit robyngit added this to the 2.32.0 milestone Oct 15, 2024
@robyngit robyngit self-assigned this Oct 15, 2024
robyngit added a commit that referenced this issue Oct 15, 2024
The onClose methods remove listeners from the Cesium viewer.

Fixes #2549
@robyngit robyngit linked a pull request Oct 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant