-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Single|Completable].toFuture() cancellable handle exception (#2632)
Motivation: [Single|Completable].toFuture() may hang if there is a thread blocked on get(), a different thread invokes cancel, and the Cancellable for the Subscriber chain throws. Modifications: - Unblock the CountDownLatch in a finally block - Preserve stack trace from the thread that invokes cancel
- Loading branch information
1 parent
9823c00
commit 0f49071
Showing
3 changed files
with
63 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters