mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-16 02:45:13 -04:00
fix tests, fix error when failing to ping server
This commit is contained in:
parent
6cab366660
commit
41ee197216
@ -150,7 +150,6 @@ object RenderLoader {
|
||||
}
|
||||
|
||||
val time = measureNanoTime {
|
||||
latch.dec()
|
||||
latch.await()
|
||||
state = RenderingStates.RUNNING
|
||||
window.visible = true
|
||||
|
@ -75,7 +75,7 @@ class StatusConnection(
|
||||
|
||||
val addresses = this.addresses!!
|
||||
val nextIndex = ++addressIndex
|
||||
if (addresses.size >= nextIndex) {
|
||||
if (addresses.size > nextIndex) {
|
||||
val nextAddress = addresses[nextIndex]
|
||||
Log.log(LogMessageType.NETWORK_RESOLVING) { "Could not connect to $address, trying next hostname: $nextAddress" }
|
||||
realAddress = nextAddress
|
||||
|
Loading…
x
Reference in New Issue
Block a user