-
Notifications
You must be signed in to change notification settings - Fork 101
Description
Recently I works with your wonderful library, but I'm getting this error when I shut down the device. Is this because I'm trying to write to a device that's in a disconnected state? I can't catch this exception either.
com.juul.kable.NotConnectedException: Disconnect detected
at com.juul.kable.Connection$special$$inlined$on$1.invokeSuspend(Connection.kt:298)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@3694c33, androidx.compose.runtime.BroadcastFrameClock@b7f2bf0, StandaloneCoroutine{Cancelling}@290569, AndroidUiDispatcher@9537bee]