-
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
Observable.concat() does not complete with a buffered scalar observable #1150
Comments
Concat is based on mergeAll-support, which does not subscribe to scalar-observables but instantly nexts their value. However, for notifyComplete to be called, the observable has to be subscribed to by an innerSubscriber. It can be resolved by simply removing the check & subscribing to non-scalar & scalar observables alike. I.e.
But I don't know if that's the best solution... |
Thinking this might be another side effect of ScalarObservable, related to #1142. |
- remove usage of ScalarObservable for optimization - implementation of ScalarObservable still remain for possible further usage closes ReactiveX#1142, ReactiveX#1150, ReactiveX#1140
@Nupf yes, |
Just tried again with TOT and seems it's still occurring. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This Observable does not complete.
http://jsfiddle.net/bo6ynqf7/7/
Expected:
Actual:
The text was updated successfully, but these errors were encountered: