Join Slack
Powered by
Thx for the pointer! Actually the official Handler...
# coroutines
p
py
06/19/2021, 2:42 PM
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
4
Views
Open in Slack
Previous
Next