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

Fix SafeObserver handling of onComplete errors #688

Merged

Conversation

benjchristensen
Copy link
Member

Fixes #630

benjchristensen added a commit that referenced this pull request Dec 24, 2013
Fix SafeObserver handling of onComplete errors
@benjchristensen benjchristensen merged commit 352683c into ReactiveX:master Dec 24, 2013
@benjchristensen benjchristensen deleted the SafeObserver-errorHandling branch December 24, 2013 06:56
@cloudbees-pull-request-builder

RxJava-pull-requests #605 FAILURE
Looks like there's a problem with this pull request

@zsxwing
Copy link
Member

zsxwing commented Dec 24, 2013

So the contract becomes onNext* ( (onCompleted onError?) | onError)? ?

@benjchristensen
Copy link
Member Author

Not really. This is handling out of contract scenarios. A proper observer should never fail on any of these notifications thus SafeObserver logic should never apply, but bugs exist and this is all about making a system operational despite code not complying with the Rx contract and having bugs.

@zsxwing
Copy link
Member

zsxwing commented Dec 24, 2013

Got it. Thanks!

rickbw pushed a commit to rickbw/RxJava that referenced this pull request Jan 9, 2014
…rorHandling

Fix SafeObserver handling of onComplete errors
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.

None yet

3 participants