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

Possible memory leak when quickly unselecting a feature #416

Open
Niicck opened this issue Dec 13, 2018 · 0 comments
Open

Possible memory leak when quickly unselecting a feature #416

Niicck opened this issue Dec 13, 2018 · 0 comments
Labels

Comments

@Niicck
Copy link
Collaborator

Niicck commented Dec 13, 2018

When you quickly select and unselect a map feature (crossing or camera), we get this error message:

    in EnhancedLayer (created by Context.Consumer)
    in MappedComponent (at SelectedFeatureContainer.js:111)
    in div (at SelectedFeatureContainer.js:110)```

Every click on a feature triggers 2 render cycles. If you click the feature again before the first render cycle finishes, then you get that error. It might not matter, but I wanted to make a note of it.
@Niicck Niicck added the bug label Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant