Skip to content

Commit

Permalink
Fix FluxLatest not updating the local requested amount after emission
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd committed Mar 17, 2016
1 parent 6897abd commit e5a23a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/reactor/core/publisher/FluxLatest.java
Expand Up @@ -177,7 +177,7 @@ void drain() {
a.onNext(v);

if (r != Long.MAX_VALUE) {
REQUESTED.decrementAndGet(this);
r = REQUESTED.decrementAndGet(this);
}
}

Expand Down

0 comments on commit e5a23a2

Please sign in to comment.