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

Unregister components on teardown #123

Merged
merged 1 commit into from
Jul 23, 2021
Merged

Conversation

sandydoo
Copy link
Owner

I forgot to reimplement this before releasing the Octane rewrite 🤦 Since we weren't unregistering components, if you drew a marker and then removed it, the map would still say you had one marker on the map.

I'm also starting to deprecate access to `components`. It's really
inefficient (arrays) and a pain to maintain.
I'd like to decouple the internal store of components from the public
one, and I don't think the current hash of arrays is a good design for a
public API.
@sandydoo sandydoo added the bug Something isn't working label Jul 23, 2021
@sandydoo sandydoo merged commit e244ba0 into main Jul 23, 2021
@sandydoo sandydoo deleted the bugfix-unregister-components branch July 27, 2021 16:19
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

Successfully merging this pull request may close these issues.

1 participant