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

(#781) Filter out InterruptedExceptions coming into RxJava onError handler inside RuntimeExceptions #782

Conversation

K1rakishou
Copy link

Closes #781

When you dispose of RxJava reactive stream it interrupts whatever blocking operation current running so they throw InterruptedException. If it so happens that we do a sync DB call via runTask() inside
RxJava stream and it gets terminated runTask will throw a RuntimeException with InterruptedException inside it.

…ndler inside RuntimeExceptions.

When you dispose of RxJava reactive stream it interrupts whatever blocking operation current running so they throw InterruptedException. If it so happens that we do a sync DB call via runTask() inside
RxJava stream and it gets terminated runTask will throw a RuntimeException with InterruptedException inside it.
@Adamantcheese Adamantcheese merged commit 471196f into multi-feature Mar 3, 2020
@K1rakishou K1rakishou deleted the (#781)-filter-interrupted-excetions-coming-from-db-calls branch March 3, 2020 07:13
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.

Crash report "java.lang.RuntimeException: java.lang.InterruptedException"
2 participants