Closed realdadfish closed 6 years ago
Hrm - ok, I think this might be a duplicate of #25. Also I guess doOnFinally {}
seems to be the proper callback. Sorry for the noise.
replay(1).refCount()
and not this library.The solution with doFinally
proposed in #25 will also fix my problem, so I'm fine with that :)
I figured that if I use RxReplayingShare to re-connect to a previously disposed upstream (i.e. after all original subscriptions where disposed), it would return me the previously cached / invalid value of the now dead upstream before querying the new upstream for data.
IMHO
should become
This fixed the issue for me. What do you think?