-
Notifications
You must be signed in to change notification settings - Fork 367
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
ConcurrentModificationException when using addOnMixpanelUpdatesReceivedListener #395
Comments
@dbachelder I opened a PR #397 |
Sorry for the delay. |
@dbarwacz Let me know if you keep seeing this issue with 4.9.3 :) Thanks! |
@patedit Hi! Finally got around to create example project, sorry it took so long.
Where factory is:
The reason we see it so rarely is the fact that it requires strange conditions that we don't encounter normally (registering more than one Well, one more thing: |
Sorry for the waiting - I've been pretty busy and I haven't been able to implement a proper fix. Your snippet is super useful and I could make it crash so we will have fix soon. |
Hey! How are we on this one? Can we expect release with fix soon? |
@dbachelder Apologies again for the long wait. I've implemented a fix for your issue (#447) that will be release at the end of today (version 5.0.1). Thanks for your patience! |
Unregistering consumed listener from
OnMixpanelUpdatesReceivedListener#onMixpanelUpdatesReceived
callback sometimes causes ConcurrentModificationException. There is no easy way for the client to unregister listener without risking crash. Reson: MixpanelAPI:2111 (4.9.2) - notifying listeners on the loop that directly stores registered listeners.The text was updated successfully, but these errors were encountered: