aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ScriptEngine/Components/DotNetEngine
diff options
context:
space:
mode:
authoridb2008-12-05 12:30:50 +0000
committeridb2008-12-05 12:30:50 +0000
commite56f918b17a3341edc54ab5f26455837f526e706 (patch)
tree3b3a21c1783ff9398bbd14a1f304f728111b0115 /OpenSim/ScriptEngine/Components/DotNetEngine
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/ScriptEngine/Components/DotNetEngine')
-rw-r--r--OpenSim/ScriptEngine/Components/DotNetEngine/Scheduler/ScriptManager_ScriptLoadUnload.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/ScriptEngine/Components/DotNetEngine/Scheduler/ScriptManager_ScriptLoadUnload.cs b/OpenSim/ScriptEngine/Components/DotNetEngine/Scheduler/ScriptManager_ScriptLoadUnload.cs
index e657f32..e70cb91 100644
--- a/OpenSim/ScriptEngine/Components/DotNetEngine/Scheduler/ScriptManager_ScriptLoadUnload.cs
+++ b/OpenSim/ScriptEngine/Components/DotNetEngine/Scheduler/ScriptManager_ScriptLoadUnload.cs
@@ -106,8 +106,7 @@ namespace OpenSim.ScriptEngine.Components.DotNetEngine.Scheduler
106 106
107 if (item.Action == LoadUnloadStructure.LUType.Unload) 107 if (item.Action == LoadUnloadStructure.LUType.Unload)
108 { 108 {
109 m_log.DebugFormat("[{0}] Unloading script", Name); 109 _StopScript(item.Script.LocalID, item.Script.ItemID);
110 _StopScript(item.Script.LocalID, item.Script.ItemID);
111 RemoveScript(item.Script.LocalID, item.Script.ItemID); 110 RemoveScript(item.Script.LocalID, item.Script.ItemID);
112 } 111 }
113 else if (item.Action == LoadUnloadStructure.LUType.Load) 112 else if (item.Action == LoadUnloadStructure.LUType.Load)
@@ -254,6 +253,8 @@ namespace OpenSim.ScriptEngine.Components.DotNetEngine.Scheduler
254 if (!TryGetScript(localID, itemID, ref ss)) 253 if (!TryGetScript(localID, itemID, ref ss))
255 return; 254 return;
256 255
256 m_log.DebugFormat("[{0}] Unloading script", Name);
257
257 // Stop long command on script 258 // Stop long command on script
258 //AsyncCommandManager.RemoveScript(ss); 259 //AsyncCommandManager.RemoveScript(ss);
259 260