Fix long-lived thread name logging.

mb-throttle-test
Justin Clark-Casey (justincc) 2014-09-26 01:10:49 +01:00
parent 9fcee73326
commit 23a0946e36
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ namespace OpenSim.Framework.Monitoring
if (log) if (log)
m_log.DebugFormat( 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) lock (m_threads)
m_threads.Add(twi.Thread.ManagedThreadId, twi); m_threads.Add(twi.Thread.ManagedThreadId, twi);