Thx for the pointer! Actually the official Handler...
# coroutines
p
Thx for the pointer! Actually the official Handler.asCoroutineDispatcher() is broken as well and will cause runBlocking() to block forever if the HandlerThread has already quit when dispatching: https://cs.android.com/android/platform/superproject/+/master:external/kotlinx.coroutines/ui/kotlinx-coroutines-android/src/HandlerDispatcher.kt;l=132;drc=79e555e45bb928b98f5944a1dc67bf02d5117ea5