-
Notifications
You must be signed in to change notification settings - Fork 1.9k
SharedFlow ClassCastException cannot be cast to SharedFlowImpl$Emitter #2356
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
Comments
Thanks. I am able to reproduce some problem (albeit not this particular exception) with a similar setup. Btw, how many concurrent collectors do you have? I don't see this from the picture. |
Somewhere between 500-1500 collectors. |
elizarov
added a commit
that referenced
this issue
Nov 2, 2020
… subscriber * Added a specific test for a problematic scenario. * Added stress test with concurrent emitters and subscribers that come and go. Fixes #2356
elizarov
added a commit
that referenced
this issue
Nov 2, 2020
… subscriber * Added a specific test for a problematic scenario. * Added stress test with concurrent emitters and subscribers that come and go. Fixes #2356
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tried migrating from BroadcastChannels to SharedFlow, but suffering this ClassCastException. I did not manage to create small reproducible example. Let me know how I can help you investigate further.
My emitter:
Collector side:
Stack trace:
The text was updated successfully, but these errors were encountered: