aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
diff options
context:
space:
mode:
authoridb2008-12-05 12:30:50 +0000
committeridb2008-12-05 12:30:50 +0000
commite56f918b17a3341edc54ab5f26455837f526e706 (patch)
tree3b3a21c1783ff9398bbd14a1f304f728111b0115 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
parentsome small refactoring of the LoginService to allow sub classes to override t... (diff)
downloadopensim-SC_OLD-e56f918b17a3341edc54ab5f26455837f526e706.zip
opensim-SC_OLD-e56f918b17a3341edc54ab5f26455837f526e706.tar.gz
opensim-SC_OLD-e56f918b17a3341edc54ab5f26455837f526e706.tar.bz2
opensim-SC_OLD-e56f918b17a3341edc54ab5f26455837f526e706.tar.xz
Mantis #2350
Move the DotNetEngine Unloading script debug message
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-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 }