* Stop an exception in the thread tracker cleanup loop from terminating the sim

0.6.0-stable
Justin Clarke Casey 2008-11-04 21:35:12 +00:00
parent 8851db0a0a
commit e1e2622e92
1 changed files with 13 additions and 4 deletions

View File

@ -53,10 +53,19 @@ namespace OpenSim.Framework
private static void ThreadTrackerThreadLoop() private static void ThreadTrackerThreadLoop()
{ {
while (true) try
{ {
Thread.Sleep(5000); while (true)
CleanUp(); {
Thread.Sleep(5000);
CleanUp();
}
}
catch (Exception e)
{
m_log.ErrorFormat(
"[THREAD TRACKER]: Thread tracker cleanup thread terminating with exception. Please report this error. Exception is {0}",
e);
} }
} }