dont log timeouts on stopped threads
parent
3c97bb1e6f
commit
07e614a32c
|
@ -504,7 +504,8 @@ namespace OpenSim
|
|||
private void WatchdogTimeoutHandler(Watchdog.ThreadWatchdogInfo twi)
|
||||
{
|
||||
int now = Environment.TickCount & Int32.MaxValue;
|
||||
|
||||
if(twi.Thread.ThreadState == System.Threading.ThreadState.Stopped)
|
||||
return;
|
||||
m_log.ErrorFormat(
|
||||
"[WATCHDOG]: Timeout detected for thread \"{0}\". ThreadState={1}. Last tick was {2}ms ago. {3}",
|
||||
twi.Thread.Name,
|
||||
|
|
Loading…
Reference in New Issue