william
11/02/2020, 1:11 PMsuspendCoroutine
from another thread with 1.3.9-native-mt-2
? for a simplified example:
suspendCoroutine<Frame> { cont ->
runBlocking(Dispatchers.Default) {
cont.resume(Frame.Text("hello"))
}
}
This crashes on const.resume
with
Uncaught Kotlin exception: kotlinx.coroutines.CoroutinesInternalError: Fatal exception in coroutines machinery for DispatchedContinuation[WorkerCoroutineDispatcherImpl@1ef81e8, Continuation