DevUpdateServer: Change HTTP server stop delay to one second.

This commit is contained in:
Kenneth Endfinger 2021-12-23 02:55:51 -05:00
parent 7f9bd32cc7
commit f8178c2307
No known key found for this signature in database
GPG Key ID: C4E68E5647420E10

View File

@ -104,7 +104,7 @@ class DevUpdateServer(val plugin: FoundationCorePlugin) {
}
fun disable() {
server?.stop(0)
server?.stop(1)
}
private fun HttpExchange.respond(code: Int, content: String) {