We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a39ad0c commit 24dcc2aCopy full SHA for 24dcc2a
src/main/java/rx/subjects/ReplaySubject.java
@@ -26,7 +26,6 @@
26
import rx.exceptions.Exceptions;
27
import rx.functions.Action1;
28
import rx.functions.Func1;
29
-import rx.functions.Functions;
30
import rx.internal.operators.NotificationLite;
31
import rx.internal.util.UtilityFunctions;
32
import rx.schedulers.Timestamped;
@@ -358,6 +357,7 @@ private boolean caughtUp(SubjectObserver<? super T> o) {
358
357
if (!o.caughtUp) {
359
o.caughtUp = true;
360
state.replayObserver(o);
+ o.index(null); // once caught up, no need for the index anymore
361
return false;
362
} else {
363
// it was caught up so proceed the "raw route"
0 commit comments