-
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
Automatic unsubscribing in OperatorMerge #897
Comments
Generally the cleanup We can look at doing so for Curious, what is the use case where the |
I'm playing with long-running (hours, not weeks) streams… not sure if RxJava is ready for that, though! I have a long-running input stream Of course I can try to make sure that I free up everything I can in their My understanding is, as soon as an |
FWIW, |
Good points. If we're retaining subscriptions that's a bad thing. I'll take a look and resolve this.
This has not been the area where we (Netflix) have used it in production thus far so it is definitely not battle-tested and I'm not surprised there are bugs. We are starting to and have found bugs and expect to find more as it gets the same level of use and testing for long-running streams. Thank you for the bug report. |
Thanks. I'll try to write a reproducing test when the hurry settles down a bit. |
Can you take a look at this: #904 I have only spent a few minutes on this so not 100% certain it is done. |
Both the implementation and the tests look alright on a first glance. I'll try it out in a minute. Thanks a lot for such a quick reaction! |
This is released in RC4 |
Nice! |
It seems to me
Observable.merge(...)
doesn't unsubscribe its inputs one by one as they complete, but only when unsubscribed manually or when all of the inputs have completed. It seems counter-intuitive. Is that intentional?The text was updated successfully, but these errors were encountered: