Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

davidmoten
Copy link
Collaborator

Use BackpressureUtils.getAndAddRequest(requested, n) instead of requested.getAndAdd(n) so that an overflow check takes place. Includes a unit test that failed on original code (but passes with this PR).

@akarnokd akarnokd added the Bug label Feb 24, 2015
@akarnokd
Copy link
Member

Thanks!

akarnokd added a commit that referenced this pull request Feb 24, 2015
…verflow

OperatorOnBackpressureDrop request overflow check
@akarnokd akarnokd merged commit 2605ede into ReactiveX:1.x Feb 24, 2015
@benjchristensen benjchristensen mentioned this pull request Mar 6, 2015
@davidmoten davidmoten deleted the onBackpressureDrop-request-overflow branch April 10, 2015 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants