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

SwitchOnNext: fix upstream producer replacing the ops own producer #2655

Merged
merged 2 commits into from
Feb 16, 2015

Conversation

akarnokd
Copy link
Member

Fix for issue #2654.

By calling the super(child) in SwitchSubscriber's constructor, the upstream's merge producer overwrote the producer placed by the SwitchOnNext operator thus any downstream request went into the upstream an not into the currently active observable.

@akarnokd akarnokd added the Bug label Feb 13, 2015
@akarnokd akarnokd changed the title Issue2654 SwitchOnNext: fix upstream producer replacing the ops own producer Feb 13, 2015
akarnokd added a commit that referenced this pull request Feb 16, 2015
SwitchOnNext: fix upstream producer replacing the ops own producer
@akarnokd akarnokd merged commit 94de8ee into ReactiveX:1.x Feb 16, 2015
@akarnokd akarnokd deleted the Issue2654 branch February 16, 2015 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant