Kotlin-BLE-Library
Kotlin-BLE-Library copied to clipboard
SuspendCoroutine never complete when scope.cancel
As title, if we use client or server's characteristic, call write(data) and immediately call scope.cancel, the _event will never receive event, and then, the write will never complete, which means the scope.coroutineContext.job never completed.