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(share): handle reentrant subscribes #6151

Merged
merged 5 commits into from
Mar 25, 2021

Conversation

cartant
Copy link
Collaborator

@cartant cartant commented Mar 17, 2021

Description:

This PR replaces the observer-based subscription that's made within the share implementation with a Subcriber-based subscription - so that the connection variable is assigned before the subscribe call is made - to support reentrant calls to subscribe.

Related issue (if exists): #6144

@cartant cartant requested a review from benlesh March 17, 2021 11:28
@benlesh benlesh merged commit fc728cd into ReactiveX:master Mar 25, 2021
@cartant cartant deleted the cartant/share-reentrant-subscribe branch April 18, 2021 02:53
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.

3 participants