fix lock position removing a not necessary function
parent
e1aa591815
commit
3c97bb1e6f
|
@ -173,16 +173,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
m_XmlRequest[m_ScriptEngine] = new XmlRequest(this);
|
m_XmlRequest[m_ScriptEngine] = new XmlRequest(this);
|
||||||
|
|
||||||
numInstances++;
|
numInstances++;
|
||||||
StartThread();
|
if (cmdHandlerThread == null)
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void StartThread()
|
|
||||||
{
|
|
||||||
if (cmdHandlerThread == null)
|
|
||||||
{
|
|
||||||
// Start the thread that will be doing the work
|
|
||||||
lock (staticLock)
|
|
||||||
{
|
{
|
||||||
cmdHandlerThread = WorkManager.StartThread(
|
cmdHandlerThread = WorkManager.StartThread(
|
||||||
CmdHandlerThreadLoop, "AsyncLSLCmdHandlerThread", ThreadPriority.Normal, true, true);
|
CmdHandlerThreadLoop, "AsyncLSLCmdHandlerThread", ThreadPriority.Normal, true, true);
|
||||||
|
|
Loading…
Reference in New Issue