aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
index f9f6401..2631867 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
@@ -258,6 +258,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
258 if (id == null) 258 if (id == null)
259 return; 259 return;
260 260
261 m_scriptEngine.Log.DebugFormat("[{0}]: Unloading script",
262 m_scriptEngine.ScriptEngineName);
263
261 // Stop long command on script 264 // Stop long command on script
262 AsyncCommandManager.RemoveScript(m_scriptEngine, localID, itemID); 265 AsyncCommandManager.RemoveScript(m_scriptEngine, localID, itemID);
263 266
@@ -371,8 +374,6 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
371 374
372 if (item.Action == LUType.Unload) 375 if (item.Action == LUType.Unload)
373 { 376 {
374 m_scriptEngine.Log.DebugFormat("[{0}]: Unloading script",
375 m_scriptEngine.ScriptEngineName);
376 _StopScript(item.localID, item.itemID); 377 _StopScript(item.localID, item.itemID);
377 RemoveScript(item.localID, item.itemID); 378 RemoveScript(item.localID, item.itemID);
378 } 379 }