Jozef Matus
05/04/2021, 12:53 PMsuspendCoroutine
from another thread? Im getting CoroutinesInternalError: Fatal exception in coroutines machinery for DispatchedContinuation
louiscad
05/04/2021, 1:06 PMsuspendCancellableCoroutine
only to ensure cancellation is always supported. That said, currently on Kotlin/Native, all objects in memory are either shared, or mutable, but never both. That's probably what leads to the crash you're experiencing.