-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Flowable.firstOrError interrupts the thread downstream. #7688
Comments
Yes, that can happen because the new thread worker has to be shut down in some way to not leak it. Operators cancel eagerly and thus this interrupt via Could you use a different scheduler instead, such as IO or |
Thanks for the tip! Using
|
Oh, that's a hefty kotlinx stacktrace. I don't know what and why they do it that way. It's out of control of Rx as we only issue a |
Okay, closing this then, thanks for the help! |
When using a new thread scheduler, Flowable.firstOrError interrupts the thread downstream. We use a scheduler created from a ThreadPoolExecutor that also has this issue with
firstOrError
.3.1.8
The logs show that NewThreadWorker is disposed which interrupts the thread.
The text was updated successfully, but these errors were encountered: