We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0569624 commit 88fa9e7Copy full SHA for 88fa9e7
rxjava-core/src/main/java/rx/Observable.java
@@ -374,6 +374,10 @@ public void onNext(T args) {
374
try {
375
latch.await();
376
} catch (InterruptedException e) {
377
+ // set the interrupted flag again so callers can still get it
378
+ // for more information see https://github.com/Netflix/RxJava/pull/147#issuecomment-13624780
379
+ Thread.currentThread().interrupt();
380
+ // using Runtime so it is not checked
381
throw new RuntimeException("Interrupted while waiting for subscription to complete.", e);
382
}
383
0 commit comments