when i use io.ktor:ktor-server-test-host for writi...
# ktor
b
when i use io.ktor:ktor-server-test-host for writing my tests .. how can i free resources allocated in Application.main() ?
ah ok .. got it.
Copy code
environment.monitor.subscribe(ApplicationStopped){
        println("Time to clean up")
    }
seems like its also called in the tests