Closed jacekgajek closed 3 weeks ago
Currently we cannot properly/gracefully close resources because Ktor plugins does not execute onClose callbacks.
onClose
Workaround
fun Application.configureKoin() { install(Koin) { // define modules } // Workaround this.install(createApplicationPlugin("StopKoin") { on(MonitoringEvent(ApplicationStopPreparing)) { stopKoin() } }) }
I'm using version 3.5.6
After removing the workaround it still works so this is a false issue. I'm closing it.
Currently we cannot properly/gracefully close resources because Ktor plugins does not execute
onClose
callbacks.Workaround
I'm using version 3.5.6