badoo / badoo/RIBs

RxWorkflowNode causes CancellationException

Open
#350 2 comments 1 reaction 1 assignee Claimed by @CherryPerry View on GitHub
bug
Dominant language
Kotlin
Stars
164
Forks
50
PR merge metrics
No merged PRs in 30d

Description

1. Setup proper exception handling (either real app or RxError JUnit rule)
2. Subscribe to `waitForChildAttached` when child is not and and won't be attached
2. Do not unsubscribe
3. Invoke `onDestroy` of the node
4. See `CancellationException`

`Single` should not use `takeUntil` for disposing subscription, it triggers `CancellationException` because `Single` is forced to send either item or error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.