fix tests, fix error when failing to ping server

This commit is contained in:
Bixilon committed 2022-12-25 15:36:19 +01:00
1 parent 6cab366660
commit 41ee197216
2 files changed
+1 -2

No files matched your search

@@ -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