mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-02 21:20:55 +00:00
DevUpdateServer: Change HTTP server stop delay to one second.
This commit is contained in:
parent
7f9bd32cc7
commit
f8178c2307
@ -104,7 +104,7 @@ class DevUpdateServer(val plugin: FoundationCorePlugin) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun disable() {
|
fun disable() {
|
||||||
server?.stop(0)
|
server?.stop(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun HttpExchange.respond(code: Int, content: String) {
|
private fun HttpExchange.respond(code: Int, content: String) {
|
||||||
|
Loading…
Reference in New Issue
Block a user