-
Notifications
You must be signed in to change notification settings - Fork 3k
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
shareReplay with refCount restarts with synchronous sources #5548
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Current Behavior
shareReplay with refCount restarts with synchronous sources
Reproduction
I can't use stackblitz because since the latest release doesn't have #5521 then that bug masks the other one, but with the current code on master, this would happen:
Expected behavior
The second subscribe should only emit
5
Possible Solution
In this line also check that the subscription isn't closed:
Additional context
See this comment from @leggechr and the comments afterwords.
The text was updated successfully, but these errors were encountered: