Skip to content

Commit

Permalink
Merge pull request ReactiveX#2053 from akarnokd/ReplaySubjectBoundedF…
Browse files Browse the repository at this point in the history
…ix1218

Fixed wrong bounded ReplaySubject use in test.
  • Loading branch information
benjchristensen committed Dec 18, 2014
2 parents 7c408f4 + 1a068dd commit 9cae739
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,12 @@ public void onNext(Object t) {
break;
} else {
Assert.assertEquals(1, o.get());
rs.onCompleted();
worker.schedule(new Action0() {
@Override
public void call() {
rs.onCompleted();
}
});
}
}
}
Expand Down

0 comments on commit 9cae739

Please sign in to comment.