forked from MoonsideGames/MoonWorks
try-catch inside AudioThreadMain
parent
0fd3365d1d
commit
5ff7da927a
|
@ -138,9 +138,16 @@ namespace MoonWorks.Audio
|
|||
while (!IsDisposed)
|
||||
{
|
||||
lock (StateLock)
|
||||
{
|
||||
try
|
||||
{
|
||||
ThreadMainTick();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.LogError(e.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
WakeSignal.WaitOne(UpdateInterval);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue