Skip to content

Commit 108cf14

Browse files
committed
Add name to callbackWorker for debugging
1 parent 06701fd commit 108cf14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ android {
2424
dependencies {
2525
api("androidx.collection:collection-ktx:1.2.0")
2626
api("androidx.core:core:1.10.1")
27-
api("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
27+
api("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0")
2828
testImplementation("junit:junit:4.13.2")
2929
androidTestImplementation("androidx.test:runner:1.6.2")
3030
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")

lib/src/main/java/be/mygod/librootkotlinx/RootServer.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ class RootServer {
447447
}
448448
val callbackWorker by lazy {
449449
mainInitialized.await()
450-
Dispatchers.IO.limitedParallelism(1)
450+
Dispatchers.IO.limitedParallelism(1, "callbackWorker")
451451
}
452452
// access to cancellables shall be wrapped in defaultWorker
453453
val cancellables = LongSparseArray<() -> Unit>()

0 commit comments

Comments
 (0)