Skip to content
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

2.x: fix Maybe.concat() subscribe-after-cancel, verify others #5101

Merged
merged 1 commit into from
Feb 16, 2017

Conversation

akarnokd
Copy link
Member

@akarnokd akarnokd commented Feb 16, 2017

This PR fixes Maybe.concatX subscribing to the next source when the downstream cancelled the Flowable sequence from its onNext. This resulted in executing the subscription side-effects of the source to be immediately cancelled when it called onSubscribe on concat's MaybeObserver.

In addition, tests were added to verify the other types don't have this kind of a problem.

Related #5100.

@akarnokd akarnokd added this to the 2.0 backlog milestone Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants