We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 24ce690 + 5224d7d commit a8ff607Copy full SHA for a8ff607
rxjava-core/src/main/java/rx/internal/operators/OperatorTakeUntil.java
@@ -18,6 +18,7 @@
18
import rx.Observable;
19
import rx.Observable.Operator;
20
import rx.Subscriber;
21
+import rx.observers.SerializedSubscriber;
22
23
/**
24
* Returns an Observable that emits the items from the source Observable until another Observable
@@ -35,7 +36,7 @@ public OperatorTakeUntil(final Observable<? extends E> other) {
35
36
37
@Override
38
public Subscriber<? super T> call(final Subscriber<? super T> child) {
- final Subscriber<T> parent = new Subscriber<T>(child) {
39
+ final Subscriber<T> parent = new SerializedSubscriber<T>(child) {
40
41
42
public void onCompleted() {
0 commit comments