Address #339
This commit is contained in:
@@ -407,7 +407,10 @@ class RootServer {
|
|||||||
mainInitialized.await()
|
mainInitialized.await()
|
||||||
CoroutineScope(Dispatchers.Main.immediate + job)
|
CoroutineScope(Dispatchers.Main.immediate + job)
|
||||||
}
|
}
|
||||||
val callbackWorker = Dispatchers.IO.limitedParallelism(1)
|
val callbackWorker by lazy {
|
||||||
|
mainInitialized.await()
|
||||||
|
Dispatchers.IO.limitedParallelism(1)
|
||||||
|
}
|
||||||
// access to cancellables shall be wrapped in defaultWorker
|
// access to cancellables shall be wrapped in defaultWorker
|
||||||
val cancellables = LongSparseArray<() -> Unit>()
|
val cancellables = LongSparseArray<() -> Unit>()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user