Is this expecting behavior in Ktor (1.6.8)? I exp...
# ktor
s
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.
e
Hey @simon.vergauwen, it shouldn’t work and also shouldn’t crash. Could you log an issue? I will take a look.
👍 1
s
Where is most convenient? On YouTrack or on the Ktor Github? Would it be useful to link a reproducing repo, or is a code example sufficient?
I can also test this against 2.x.x if that'd belp.
e
YT. It would be great
s
Going to make an issue, and I'll link it here 👍
🙏 1