Skip to content

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

Merged
akarnokd merged 2 commits intoReactiveX:1.xfrom
akarnokd:Issue2654
Feb 16, 2015
Merged

SwitchOnNext: fix upstream producer replacing the ops own producer#2655
akarnokd merged 2 commits intoReactiveX:1.xfrom
akarnokd:Issue2654

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