Remove a red ink error on shutdown. Harmless message since shutting down anyway

melanie
Melanie Thielker 2017-01-07 00:29:20 +00:00
parent d9dba51223
commit e81b3d8f0c
1 changed files with 7 additions and 1 deletions

View File

@ -186,7 +186,13 @@ namespace OpenSim.Region.ClientStack.Linden
m_log.DebugFormat("[GetMeshModule] Closing");
foreach (Thread t in m_workerThreads)
Watchdog.AbortThread(t.ManagedThreadId);
m_queue.Clear();
// This will fail on region shutdown. Its harmless.
// Prevent red ink.
try
{
m_queue.Clear();
}
catch {}
}
}