Is this expecting behavior in Ktor (1.6.8)?
I expected something similar to happen in both implementations, I definitely didn't expect it to crash the Ktor Server since Ktor Application's
CoroutineScope
is a
SupervisorJob
.
And a
async
without an
await
is now crashing the server due to a child
CoroutineScope
of the Application
SupervisorJob
🤔 Adding
await
in
notFine
also doesn't change the behavior.
It's hard to find more documentation around this, I looked around the codebase but had a hard time locating where
execute
is being called. Probably somewhere in the integration code with Netty, or other runtimes.