This commit is contained in:
pypy
2021-01-21 11:34:01 +09:00
parent 4e2f214119
commit 4caec1b732
2 changed files with 19 additions and 10 deletions
+6
View File
@@ -61,12 +61,17 @@ namespace VRCX
}
internal void Exit()
{
lock (this)
{
_timer.Change(-1, -1);
_performanceCounter?.Dispose();
}
}
private void TimerCallback(object state)
{
lock (this)
{
try
{
@@ -81,3 +86,4 @@ namespace VRCX
}
}
}
}
+3
View File
@@ -36,10 +36,13 @@ namespace VRCX
}
internal void Exit()
{
lock (this)
{
m_Timer.Change(-1, -1);
m_Client?.Dispose();
}
}
private void TimerCallback(object state)
{