Fix bug where no threadpool data would be displayed in the "show threads" command if threadpool type was QueueUserWorkItem (Unsafe worked as expected)

This commit is contained in:
Justin Clark-Casey (justincc)
2013-06-17 23:34:09 +01:00
parent 713a14a6b5
commit c0a00cd7fd

View File

@@ -1880,7 +1880,7 @@ namespace OpenSim.Framework
}
}
else if (
FireAndForgetMethod == FireAndForgetMethod.UnsafeQueueUserWorkItem
FireAndForgetMethod == FireAndForgetMethod.QueueUserWorkItem
|| FireAndForgetMethod == FireAndForgetMethod.UnsafeQueueUserWorkItem)
{
threadPoolUsed = "BuiltInThreadPool";