maxmello
06/11/2019, 9:44 AMfun a() {
Log.i("Log info")
launch {
myAtomicLong.set(SystemClock.elapsedRealtime())
Log.i("Log info in launch")
}
}
The second Log.i never gets executed. It’s inside a class implementing coroutineScope on Dispatchers.IO. The AtomicLong is used in multiple of those launch blocks.Matej Drobnič
06/11/2019, 9:45 AMoctylFractal
06/11/2019, 9:47 AMmaxmello
06/11/2019, 9:57 AM