Minor annoying Exception-bug fixed

afrisby-rexmerge
Tedd Hansen 2008-02-22 14:53:26 +00:00
parent a43bb10000
commit 879a260498
2 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@
*/ */
using System; using System;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
@ -132,7 +133,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
if (PleaseShutdown) if (PleaseShutdown)
return; return;
foreach (ScriptEngine m_ScriptEngine in ScriptEngine.ScriptEngines) foreach (ScriptEngine m_ScriptEngine in new ArrayList(ScriptEngine.ScriptEngines))
{ {
lastScriptEngine = m_ScriptEngine; lastScriptEngine = m_ScriptEngine;
if (m_ScriptEngine != null) if (m_ScriptEngine != null)

View File

@ -132,7 +132,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
public void ReadConfig() public void ReadConfig()
{ {
#if DEBUG #if DEBUG
m_log.Debug("[" + ScriptEngineName + "]: Refreshing configuration for all modules"); //m_log.Debug("[" + ScriptEngineName + "]: Refreshing configuration for all modules");
#endif #endif
RefreshConfigFileSeconds = ScriptConfigSource.GetInt("RefreshConfig", 30); RefreshConfigFileSeconds = ScriptConfigSource.GetInt("RefreshConfig", 30);