mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-21 09:31:20 -08:00
Fix UDP timeout overriding error status (#812)
This commit is contained in:
1 parent
6d005223c7
commit
e4e5a884ef
1 file changed
+3
-1
@@ -224,7 +224,9 @@ class TrackersUDPServer(private val port: Int, name: String, private val tracker
|
||||
} else {
|
||||
conn.timedOut = false
|
||||
for (value in conn.trackers.values) {
|
||||
value.status = TrackerStatus.OK
|
||||
if (value.status == TrackerStatus.DISCONNECTED) {
|
||||
value.status = TrackerStatus.OK
|
||||
}
|
||||
}
|
||||
}
|
||||
if (conn.serialBuffer.isNotEmpty() &&
|
||||
|
||||
Reference in new issue
Block a user