Skip to content

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

Merged
Adamantcheese merged 1 commit into
multi-featurefrom
(#781)-filter-interrupted-excetions-coming-from-db-calls
Mar 3, 2020
Merged

(#781) Filter out InterruptedExceptions coming into RxJava onError handler inside RuntimeExceptions#782
Adamantcheese merged 1 commit into
multi-featurefrom
(#781)-filter-interrupted-excetions-coming-from-db-calls

Conversation

@K1rakishou

Copy link
Copy Markdown

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