Code: ``` launch() { val a = a...
# coroutines
n
Code:
Copy code
launch() {
            val a = async<Int> {
                throw RuntimeException("foo")
            }
            
            try {
            	a.await() //comment this line and parent job will be active, even `async` coroutine was executed and failed
            } catch (e: Exception) {
                println("Got exception form async: $e")
            }
            
            println("Job of launch is active: ${coroutineContext[Job]!!.isActive}") //why job is not active?
        }