diff --git a/controls-core/src/commonMain/kotlin/space/kscience/controls/spec/DeviceBase.kt b/controls-core/src/commonMain/kotlin/space/kscience/controls/spec/DeviceBase.kt index dcb48b4..e8b9210 100644 --- a/controls-core/src/commonMain/kotlin/space/kscience/controls/spec/DeviceBase.kt +++ b/controls-core/src/commonMain/kotlin/space/kscience/controls/spec/DeviceBase.kt @@ -72,6 +72,7 @@ public abstract class DeviceBase( onBufferOverflow = BufferOverflow.DROP_OLDEST ) + @OptIn(kotlinx.coroutines.ExperimentalCoroutinesApi::class) override val coroutineContext: CoroutineContext = context.newCoroutineContext( SupervisorJob(context.coroutineContext[Job]) + CoroutineName("Device $this") + diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 242a120..601b9d1 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -10,7 +10,7 @@ fazecast = "2.10.3" tornadofx = "1.7.20" -plotlykt = "0.5.3" +plotlykt = "0.7.0" logback = "1.2.11"