I'm especially interested in an Android context, w...
# coroutines
n
I'm especially interested in an Android context, where such an exception in a non-main thread would crash the application. When I run
doSomething()
on an Android device, the application does not crash, whereas
doSomethingElse()
does make it crash. I guess it has something to do with the
handleException
snippet, where the exception result is never handled. I am not really familiar with `Future`s though.
Copy code
operator fun handleException(t: Throwable, c: Continuation<Nothing>) {
        future.completeExceptionally(t)
    }
Would there be any way to make the application crash when something like this happens?