Skip to content

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

Merged
akarnokd merged 1 commit intoReactiveX:2.xfrom
akarnokd:MaybeConcatFix
Feb 16, 2017
Merged

2.x: fix Maybe.concat() subscribe-after-cancel, verify others#5101
akarnokd merged 1 commit intoReactiveX:2.xfrom
akarnokd:MaybeConcatFix

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