fix lock position removing a not necessary function

0.9.0-post-fixes
UbitUmarov 2017-05-23 06:03:51 +01:00
parent e1aa591815
commit 3c97bb1e6f
1 changed files with 1 additions and 10 deletions

View File

@ -173,16 +173,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
m_XmlRequest[m_ScriptEngine] = new XmlRequest(this);
numInstances++;
StartThread();
}
}
private static void StartThread()
{
if (cmdHandlerThread == null)
{
// Start the thread that will be doing the work
lock (staticLock)
if (cmdHandlerThread == null)
{
cmdHandlerThread = WorkManager.StartThread(
CmdHandlerThreadLoop, "AsyncLSLCmdHandlerThread", ThreadPriority.Normal, true, true);