try to shutup some errors dunring shutdown, due to .net mess

master
UbitUmarov 2020-05-02 14:25:57 +01:00
parent 1ad3a256f2
commit 6d030e2f2b
1 changed files with 4 additions and 4 deletions

View File

@ -246,13 +246,13 @@ namespace OpenSim.Framework.Monitoring
break; break;
} }
} }
catch(ObjectDisposedException) catch (OperationCanceledException)
{ {
m_log.DebugFormat("[JobEngine] {0} stopping ignoring {1} jobs in queue", m_log.DebugFormat("[JobEngine] {0} Canceled ignoring {1} jobs in queue",
Name,m_jobQueue.Count); Name, m_jobQueue.Count);
break; break;
} }
catch(OperationCanceledException) catch
{ {
break; break;
} }