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