diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 8c22339..e6c8606 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -24,7 +24,7 @@ android { dependencies { api("androidx.collection:collection-ktx:1.2.0") api("androidx.core:core:1.10.1") - api("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4") + api("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0") testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test:runner:1.6.2") androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1") diff --git a/lib/src/main/java/be/mygod/librootkotlinx/RootServer.kt b/lib/src/main/java/be/mygod/librootkotlinx/RootServer.kt index 61b4fed..b7c2a62 100644 --- a/lib/src/main/java/be/mygod/librootkotlinx/RootServer.kt +++ b/lib/src/main/java/be/mygod/librootkotlinx/RootServer.kt @@ -447,7 +447,7 @@ class RootServer { } val callbackWorker by lazy { mainInitialized.await() - Dispatchers.IO.limitedParallelism(1) + Dispatchers.IO.limitedParallelism(1, "callbackWorker") } // access to cancellables shall be wrapped in defaultWorker val cancellables = LongSparseArray<() -> Unit>()