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

refactor: Remove unnecessary addition of subscription to subscriber #6754

Merged
merged 1 commit into from Jan 12, 2022

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Jan 11, 2022

Removes the subscriber.add call because an RxJS native OperatorSubscriber will automatically do that upon subscribing.

Also adds an additional test to sanity check that the previous finalization occurs before the next subscription.

Removes the subscriber.add call because an RxJS native OperatorSubscriber will automatically do that upon subscribing.

Also adds an additional test to sanity check that the previous finalization occurs before the next subscription.
@benlesh benlesh added 7.x Issues and PRs for version 6.x 8.x Issues and PRs for version 8.x labels Jan 11, 2022
@benlesh benlesh merged commit 443ac7e into ReactiveX:master Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7.x Issues and PRs for version 6.x 8.x Issues and PRs for version 8.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants