[orx-rabbit-control] Upgrade netty to 4.2.2.Final

Avoid zero timeout values when shutting web server down
to avoid numerous WARN messages
This commit is contained in:
Abe Pazos
2025-06-05 12:07:29 +02:00
parent 7e8ce0ddf8
commit 47b70ae7ee
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ antlr = "4.13.2"
antlrKotlin = "1.0.3"
tensorflow = "0.5.0"
minim = "2.2.2"
netty = "4.2.1.Final"
netty = "4.2.2.Final"
rabbitcontrol = "0.3.39"
zxing = "3.5.3"
ktor = "3.1.3"

View File

@@ -251,7 +251,7 @@ class RabbitControlServer(private val showQRUntilClientConnects: Boolean = true,
override fun shutdown(program: Program) {
transporter.dispose()
rabbitholeTransporter?.dispose()
webServer?.stop(0, 0)
webServer?.stop(50, 50)
}
private fun getQRCodeImage(barcodeText: String): ColorBuffer {