diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 96da0a8..ebb8e52 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -1076,6 +1076,12 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1076 | m_log.InfoFormat( | 1076 | m_log.InfoFormat( |
1077 | "[XEngine]: Completed starting {0} scripts on {1}", scriptsStarted, m_Scene.Name); | 1077 | "[XEngine]: Completed starting {0} scripts on {1}", scriptsStarted, m_Scene.Name); |
1078 | 1078 | ||
1079 | m_Scene.EventManager.TriggerEmptyScriptCompileQueue(m_ScriptFailCount, | ||
1080 | m_ScriptErrorMessage); | ||
1081 | |||
1082 | m_ScriptFailCount = 0; | ||
1083 | m_InitialStartup = false; | ||
1084 | |||
1079 | // NOTE: Despite having a lockless queue, this lock is required | 1085 | // NOTE: Despite having a lockless queue, this lock is required |
1080 | // to make sure there is never no compile thread while there | 1086 | // to make sure there is never no compile thread while there |
1081 | // are still scripts to compile. This could otherwise happen | 1087 | // are still scripts to compile. This could otherwise happen |
@@ -1084,12 +1090,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1084 | lock (m_CompileQueue) | 1090 | lock (m_CompileQueue) |
1085 | m_CurrentCompile = null; | 1091 | m_CurrentCompile = null; |
1086 | 1092 | ||
1087 | m_Scene.EventManager.TriggerEmptyScriptCompileQueue(m_ScriptFailCount, | ||
1088 | m_ScriptErrorMessage); | ||
1089 | |||
1090 | m_ScriptFailCount = 0; | ||
1091 | m_InitialStartup = false; | ||
1092 | |||
1093 | return null; | 1093 | return null; |
1094 | } | 1094 | } |
1095 | 1095 | ||