Fix long-lived thread name logging.

This commit is contained in:
Justin Clark-Casey (justincc)
2014-09-26 01:10:49 +01:00
parent 9fcee73326
commit 23a0946e36

View File

@@ -225,7 +225,7 @@ namespace OpenSim.Framework.Monitoring
if (log)
m_log.DebugFormat(
"[WATCHDOG]: Started tracking thread {0}, ID {1}", twi.Thread.Name, twi.Thread.ManagedThreadId);
"[WATCHDOG]: Started tracking thread {0}, ID {1}", name, twi.Thread.ManagedThreadId);
lock (m_threads)
m_threads.Add(twi.Thread.ManagedThreadId, twi);