* Stop an exception in the thread tracker cleanup loop from terminating the sim
parent
8851db0a0a
commit
e1e2622e92
|
@ -52,6 +52,8 @@ namespace OpenSim.Framework
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void ThreadTrackerThreadLoop()
|
private static void ThreadTrackerThreadLoop()
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
|
@ -59,6 +61,13 @@ namespace OpenSim.Framework
|
||||||
CleanUp();
|
CleanUp();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
m_log.ErrorFormat(
|
||||||
|
"[THREAD TRACKER]: Thread tracker cleanup thread terminating with exception. Please report this error. Exception is {0}",
|
||||||
|
e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static void Add(Thread thread)
|
public static void Add(Thread thread)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue