diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs index eb57a9e..0fcabab 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs | |||
@@ -164,9 +164,9 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
164 | MaintenanceLoopTicks_Other_Count++; | 164 | MaintenanceLoopTicks_Other_Count++; |
165 | 165 | ||
166 | 166 | ||
167 | lock (ScriptEngine.ScriptEngines) | 167 | //lock (ScriptEngine.ScriptEngines) |
168 | { | 168 | //{ |
169 | foreach (ScriptEngine m_ScriptEngine in ScriptEngine.ScriptEngines) | 169 | foreach (ScriptEngine m_ScriptEngine in new ArrayList(ScriptEngine.ScriptEngines)) |
170 | { | 170 | { |
171 | lastScriptEngine = m_ScriptEngine; | 171 | lastScriptEngine = m_ScriptEngine; |
172 | // Re-reading config every x seconds | 172 | // Re-reading config every x seconds |
@@ -212,7 +212,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
212 | m_ScriptEngine.m_ScriptManager.DoScriptLoadUnload(); | 212 | m_ScriptEngine.m_ScriptManager.DoScriptLoadUnload(); |
213 | } | 213 | } |
214 | } | 214 | } |
215 | } | 215 | //} |
216 | } | 216 | } |
217 | } | 217 | } |
218 | catch (Exception ex) | 218 | catch (Exception ex) |