Ah, I see that the following program doesn't termi...
# coroutines
n
Ah, I see that the following program doesn't terminate with exception either, I didn't realize that:
Copy code
fun test() {
    doSomethingElse()
    Thread.sleep(1000)
}

fun doSomethingElse() = Thread({
    TODO()
}).start()
The exception is logged, but the exit code is 0.