aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 32714b2..340dd39 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -70,6 +70,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
70 private int m_SaveTime; 70 private int m_SaveTime;
71 private ThreadPriority m_Prio; 71 private ThreadPriority m_Prio;
72 private bool m_Enabled = false; 72 private bool m_Enabled = false;
73 private bool m_InitialStartup = true;
73 74
74// disable warning: need to keep a reference to XEngine.EventManager 75// disable warning: need to keep a reference to XEngine.EventManager
75// alive to avoid it being garbage collected 76// alive to avoid it being garbage collected
@@ -412,6 +413,12 @@ namespace OpenSim.Region.ScriptEngine.XEngine
412 413
413 public Object DoOnRezScriptQueue(Object dummy) 414 public Object DoOnRezScriptQueue(Object dummy)
414 { 415 {
416 if (m_InitialStartup)
417 {
418 m_InitialStartup = false;
419 System.Threading.Thread.Sleep(15000);
420 }
421
415 Object o; 422 Object o;
416 lock (m_CompileQueue) 423 lock (m_CompileQueue)
417 { 424 {