-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Clean up MapboxToken subscriptions when DistanceRequest unmounts #24612
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
Labels
Comments
Merged
59 tasks
PR is up for this: #25408 |
@tgolen Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
This is done and all deployed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Problem
As described here, we aren't cleaning up our Onxy.connect subscriptions, App state listener, and timeout from the MapboxToken library when the DistanceRequest component un-mounts. That's a bit of a waste.
Solution
Clean up when the DistanceRequest component un-mounts.
The text was updated successfully, but these errors were encountered: