Dico
07/14/2019, 11:20 AMrunBlocking
In my program I have a top level coroutine dispatcher that uses runBlocking
as an event loop for the main thread.
In the application code, it uses runBlocking
somewhere else for something more trivial.
It seems that the dispatcher for the 2 contexts are sharing some state. It runs a few main loop frames when the second runBlocking
is called.
Moreover, the stacktrace in intellij, which says async stack trace, doesn't indicate any difference when the main loop is executed in this way.gildor
07/14/2019, 2:56 PMDico
07/14/2019, 3:25 PM