Skip to content

com.juul.kable.NotConnectedException: Disconnect detected #1071

@DanielRFG

Description

@DanielRFG

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions