mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-16 10:55:01 -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 {
|
val time = measureNanoTime {
|
||||||
latch.dec()
|
|
||||||
latch.await()
|
latch.await()
|
||||||
state = RenderingStates.RUNNING
|
state = RenderingStates.RUNNING
|
||||||
window.visible = true
|
window.visible = true
|
||||||
|
@ -75,7 +75,7 @@ class StatusConnection(
|
|||||||
|
|
||||||
val addresses = this.addresses!!
|
val addresses = this.addresses!!
|
||||||
val nextIndex = ++addressIndex
|
val nextIndex = ++addressIndex
|
||||||
if (addresses.size >= nextIndex) {
|
if (addresses.size > nextIndex) {
|
||||||
val nextAddress = addresses[nextIndex]
|
val nextAddress = addresses[nextIndex]
|
||||||
Log.log(LogMessageType.NETWORK_RESOLVING) { "Could not connect to $address, trying next hostname: $nextAddress" }
|
Log.log(LogMessageType.NETWORK_RESOLVING) { "Could not connect to $address, trying next hostname: $nextAddress" }
|
||||||
realAddress = nextAddress
|
realAddress = nextAddress
|
||||||
|
Loading…
x
Reference in New Issue
Block a user