Closed solvek closed 3 years ago
Thanks for reporting! I'll take a look ~within the next couple days~ this weekend.
@solvek can you give the following SNAPSHOT
a try and see if it fixes the issue, please?
repositories {
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
implementation("com.juul.kable:core:0.7.0-issue-142-1-SNAPSHOT")
}
Thank you!
Thank you Travis for quick fix. Tried this build and the crash now disappeared.
Fixed in 0.7.1
I am first subscribing for notifications (using
observe
) then trying to connect to my peripheral (connect
). Actually my device is not available so no connection is established and no services discovered of course.Then I am exiting from this screen (and thus the couroutine scope is cancelling). At this moment I am getting crash:
As I understand it tries to stop observation which actually was not started because no connection established... it is not unclear for me why it requires discovered services and crashes?