Thomas
07/17/2019, 6:42 PMFatal Exception: kotlinx.coroutines.flow.internal.ChildCancelledException Child of the scoped flow was cancelled
For some reason this crash does not have a stack trace (on both Firebase and Google Play). This makes it very hard to find the cause. Could someone here help me out? I am using Kotlin 1.3.41
and Coroutines 1.3.0-M2
.Dico
07/17/2019, 9:01 PMThomas
07/17/2019, 9:06 PMDico
07/17/2019, 9:08 PMlouiscad
07/18/2019, 1:40 AMcallbackFlow
or channelFlow
with APIs that might continue offering values after unregistering, or have non thread-safe unregistering which could lead to race conditions where a value is offered after unregistration?Vsevolod Tolstopyatov [JB]
07/18/2019, 9:06 AMThomas
07/25/2019, 10:52 AMcombineLatest
operator (it was not added, see https://github.com/Kotlin/kotlinx.coroutines/issues/1262). You can find it in the same gist. My guess it I made a mistake somewhere.Thomas
07/27/2019, 3:26 PMThomas
07/27/2019, 4:06 PMsomeFlow
.switchMap { transformTheFlow(it) }
.collect {
doSomethingWithTheResult(it)
}
Thomas
07/29/2019, 3:38 PMThomas
08/01/2019, 2:31 PMMaybe this is related?...Just built Kotlin coroutines myself with this fix. Unfortunately after some time I got the crash again. So this is a different issue.