-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
RxJS version:
5.5.2
Code to reproduce:
This is more of a question so I don't have a reproducible example.
Expected behavior:
Same as above.
Actual behavior:
Same as above.
Additional information:
At first, I encountered what I thought was a bug with the shareReplay operator, but after finding an older issue that brought up the same concerns, I discovered that it was a misunderstanding on my part about how shareReplay was supposed to work.
However, in the process, I dug through some of the source code and now I have a question about the teardown logic in the shareReplay operator:
Since the shareReplay operator does not create its own Subscriber, it looks like that teardown logic isn't getting attached to anything. Will the teardown logic ever get called?
Thanks for all the hard work!