Skip to content

fix(share): handle reentrant subscribes#6151

Merged
benlesh merged 5 commits intoReactiveX:masterfrom
cartant:cartant/share-reentrant-subscribe
Mar 25, 2021
Merged

fix(share): handle reentrant subscribes#6151
benlesh merged 5 commits intoReactiveX:masterfrom
cartant:cartant/share-reentrant-subscribe

Conversation

@cartant
Copy link
Copy Markdown
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