diff --git a/rxjava-core/src/main/java/rx/internal/operators/OperatorTakeUntil.java b/rxjava-core/src/main/java/rx/internal/operators/OperatorTakeUntil.java index 2cc288e4a4..88003eeb40 100644 --- a/rxjava-core/src/main/java/rx/internal/operators/OperatorTakeUntil.java +++ b/rxjava-core/src/main/java/rx/internal/operators/OperatorTakeUntil.java @@ -18,6 +18,7 @@ import rx.Observable; import rx.Observable.Operator; import rx.Subscriber; +import rx.observers.SerializedSubscriber; /** * Returns an Observable that emits the items from the source Observable until another Observable @@ -35,7 +36,7 @@ public OperatorTakeUntil(final Observable other) { @Override public Subscriber call(final Subscriber child) { - final Subscriber parent = new Subscriber(child) { + final Subscriber parent = new SerializedSubscriber(child) { @Override public void onCompleted() {