diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs index a70e93b..caf043d 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | |||
@@ -73,9 +73,9 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
73 | 73 | ||
74 | public void ReadConfig() | 74 | public void ReadConfig() |
75 | { | 75 | { |
76 | //lock (ScriptEngine.ScriptEngines) | 76 | lock (ScriptEngine.ScriptEngines) |
77 | //{ | 77 | { |
78 | foreach (ScriptEngine m_ScriptEngine in new ArrayList(ScriptEngine.ScriptEngines)) | 78 | foreach (ScriptEngine m_ScriptEngine in ScriptEngine.ScriptEngines) |
79 | { | 79 | { |
80 | ScriptEngineName = m_ScriptEngine.ScriptEngineName; | 80 | ScriptEngineName = m_ScriptEngine.ScriptEngineName; |
81 | nothingToDoSleepms = m_ScriptEngine.ScriptConfigSource.GetInt("SleepTimeIfNoScriptExecutionMs", 50); | 81 | nothingToDoSleepms = m_ScriptEngine.ScriptConfigSource.GetInt("SleepTimeIfNoScriptExecutionMs", 50); |
@@ -106,7 +106,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
106 | break; | 106 | break; |
107 | } | 107 | } |
108 | } | 108 | } |
109 | //} | 109 | } |
110 | // Now set that priority | 110 | // Now set that priority |
111 | if (EventQueueThread != null) | 111 | if (EventQueueThread != null) |
112 | if (EventQueueThread.IsAlive) | 112 | if (EventQueueThread.IsAlive) |