Skip to content

Commit 70f25df

Browse files
authored
2.x: ObservableBlockingSubscribe compares with wrong object (#6601)
1 parent e784201 commit 70f25df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/reactivex/internal/operators/observable/ObservableBlockingSubscribe.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static <T> void subscribe(ObservableSource<? extends T> o, Observer<? sup
6161
}
6262
}
6363
if (bs.isDisposed()
64-
|| o == BlockingObserver.TERMINATED
64+
|| v == BlockingObserver.TERMINATED
6565
|| NotificationLite.acceptFull(v, observer)) {
6666
break;
6767
}

0 commit comments

Comments
 (0)