Remove a red ink error on shutdown. Harmless message since shutting down anyway
parent
d9dba51223
commit
e81b3d8f0c
|
@ -186,7 +186,13 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
m_log.DebugFormat("[GetMeshModule] Closing");
|
m_log.DebugFormat("[GetMeshModule] Closing");
|
||||||
foreach (Thread t in m_workerThreads)
|
foreach (Thread t in m_workerThreads)
|
||||||
Watchdog.AbortThread(t.ManagedThreadId);
|
Watchdog.AbortThread(t.ManagedThreadId);
|
||||||
m_queue.Clear();
|
// This will fail on region shutdown. Its harmless.
|
||||||
|
// Prevent red ink.
|
||||||
|
try
|
||||||
|
{
|
||||||
|
m_queue.Clear();
|
||||||
|
}
|
||||||
|
catch {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue