From 6d030e2f2bf238f994b3f086d69465d9c6703ff8 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 2 May 2020 14:25:57 +0100 Subject: [PATCH] try to shutup some errors dunring shutdown, due to .net mess --- OpenSim/Framework/Monitoring/JobEngine.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSim/Framework/Monitoring/JobEngine.cs b/OpenSim/Framework/Monitoring/JobEngine.cs index b75243fb50..7f15243521 100644 --- a/OpenSim/Framework/Monitoring/JobEngine.cs +++ b/OpenSim/Framework/Monitoring/JobEngine.cs @@ -246,13 +246,13 @@ namespace OpenSim.Framework.Monitoring break; } } - catch(ObjectDisposedException) + catch (OperationCanceledException) { - m_log.DebugFormat("[JobEngine] {0} stopping ignoring {1} jobs in queue", - Name,m_jobQueue.Count); + m_log.DebugFormat("[JobEngine] {0} Canceled ignoring {1} jobs in queue", + Name, m_jobQueue.Count); break; } - catch(OperationCanceledException) + catch { break; }