mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-21 01:21:25 -08:00
Maybe fix the latency problem
This commit is contained in:
1 parent
ca89627832
commit
367fbc9344
2 files changed
+2
-2
No files matched your search
@@ -111,7 +111,7 @@ private suspend fun acceptUnixClients(
|
||||
break
|
||||
}
|
||||
AppLogger.ipc.info("$name client connected")
|
||||
launch {
|
||||
launch(Dispatchers.Default) {
|
||||
try {
|
||||
handle(client)
|
||||
} catch (e: CancellationException) {
|
||||
|
||||
@@ -92,7 +92,7 @@ private suspend fun acceptWindowsClients(
|
||||
}
|
||||
AppLogger.ipc.info("$pipeName client connected")
|
||||
|
||||
launch {
|
||||
launch(Dispatchers.Default) {
|
||||
try {
|
||||
handle(readFrames(pipe)) { bytes -> writer.writeFrame(bytes) }
|
||||
} catch (e: CancellationException) {
|
||||
|
||||
Reference in new issue
Block a user