Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObserveOn Error Propagation #1728

Merged

Conversation

benjchristensen
Copy link
Member

onError was not being propagated if the child subscriber was backpressured (requested==0)

This fixes the second bug mentioned in #1717

- make code easier to understand with some refactoring of the pollQueue loop
- add a unit test to ensure correct behavior with a hot Observable source
- errors were not being propagated if backpressure was exerted (requested==0)
- terminal events do not need to be requested so it now ignores the requested count to emit onError
benjchristensen added a commit that referenced this pull request Oct 6, 2014
@benjchristensen benjchristensen merged commit 80f7f30 into ReactiveX:1.x Oct 6, 2014
@benjchristensen benjchristensen deleted the observeOnErrorPropagation branch October 14, 2014 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant