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

fix(mergeScan): No longer emits state again upon completion. #5805

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Oct 7, 2020

Fixes an issue were accumulated state would be emitted a second time upon completion.

  • Also ensures state is cleared on teardown for mergeScan.
  • Minor refactoring to mergeInternals related to this change
  • Refactors mergeMap to be less verbose in the deprecated path.

BREAKING CHANGE: mergeScan will no longer emit its inner state again upon completion.

related #5372

Fixes an issue were accumulated state would be emitted a second time upon completion.

BREAKING CHANGE: `mergeScan` will no longer emit its inner state again upon completion.

related ReactiveX#5372
@benlesh benlesh requested a review from cartant October 7, 2020 22:08
@benlesh benlesh mentioned this pull request Oct 7, 2020
13 tasks
Copy link
Collaborator

@cartant cartant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I pushed a commit to remove an unused import that was effecting a lint failure.

@benlesh
Copy link
Member Author

benlesh commented Oct 8, 2020

Thanks, @cartant! I was hustling to get this done before doing "dad duties" for the evening. haha.

@benlesh benlesh merged commit 68c2894 into ReactiveX:master Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants