mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-05 00:02:28 -08:00
Log where we're creating IPC sockets on Linux
This commit is contained in:
1 file changed
+1
@@ -81,6 +81,7 @@ private suspend fun acceptUnixClients(
|
||||
handle: suspend (SocketChannel) -> Unit,
|
||||
) = withContext(Dispatchers.IO) {
|
||||
val path = Path(getSocketDirectory(), name)
|
||||
AppLogger.ipc.info("Creating $name socket at $path")
|
||||
val file = path.toFile()
|
||||
if (file.exists()) {
|
||||
check(!isSocketInUse(path.toString())) {
|
||||
|
||||
Reference in new issue
Block a user