Change --config behavior to allow for multi instance

This commit is contained in:
Natsumi
2024-02-14 14:19:10 +13:00
parent e2e907da77
commit b7d5255f3b
3 changed files with 33 additions and 14 deletions
+10 -3
View File
@@ -734,9 +734,16 @@ namespace VRCX
public void Stop()
{
listener?.Stop();
listener?.Close();
worldDB?.Close();
try
{
worldDB?.Close();
listener?.Stop();
listener?.Close();
}
catch (ObjectDisposedException ex)
{
// ignore
}
}
}
}