How do I add a shutdown hook to my ktor (3.1.0) se...
# ktor
t
How do I add a shutdown hook to my ktor (3.1.0) server if I'm using EngineMain?
a
Call addShutdownHook before starting the engine.