rocketraman
07/10/2018, 5:18 PMlog
showing a DefaultExecutor
context and not SINGLE-THREAD
?elizarov
07/10/2018, 5:21 PMwithContext
in one of the recent updates.louiscad
07/10/2018, 5:23 PMrocketraman
07/10/2018, 5:23 PMelizarov
07/10/2018, 5:26 PMrocketraman
07/10/2018, 5:28 PMelizarov
07/10/2018, 5:39 PMrocketraman
07/10/2018, 5:40 PMelizarov
07/10/2018, 5:43 PMuse
). It cannot execute anymore, so default executor is used.louiscad
07/10/2018, 5:43 PMbug
tag @elizarov 😉rocketraman
07/10/2018, 5:44 PMlaunch
returns before it completes. That makes sense.join
up works for the example I gave, but in my actual app, the newSingleThreadContext
is instantiated from non-coroutine code, which needs to be call this code and continue. Therefore I can't join the launch
. I guess I could always start a Thread that does nothing but do the launch
+ join
(or runBlocking
really), but that seems really messy as now I have a useless thread hanging around. What am I missing?louiscad
07/10/2018, 6:39 PM.use
extensionrocketraman
07/10/2018, 6:40 PMlouiscad
07/10/2018, 6:42 PMDaniel Tam
07/12/2018, 12:34 AMelizarov
07/12/2018, 7:30 AMfinally
sections, releasing resources it had acquired. We should run those. That gives us a chance to be able to recover.