aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-25 23:11:00 +0200
committerMelanie Thielker2010-08-25 23:11:00 +0200
commitdc1baf802545329fc78d5fa36174e27025629527 (patch)
tree8b53813f3de2982b63c1767f3018801b9c6e67e8 /OpenSim/Region/Framework/Scenes/Scene.cs
parentChange some e.Message to e.ToString. Don't use e.Message, it doesn't carry (diff)
downloadopensim-SC-dc1baf802545329fc78d5fa36174e27025629527.zip
opensim-SC-dc1baf802545329fc78d5fa36174e27025629527.tar.gz
opensim-SC-dc1baf802545329fc78d5fa36174e27025629527.tar.bz2
opensim-SC-dc1baf802545329fc78d5fa36174e27025629527.tar.xz
Change object cleanup again. Make scene object directories more robust and
prevent deleted SOP's from sticking around
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index c7b38a1..eb5c3cb 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3211,8 +3211,6 @@ namespace OpenSim.Region.Framework.Scenes
3211 m_eventManager.TriggerOnRemovePresence(agentID); 3211 m_eventManager.TriggerOnRemovePresence(agentID);
3212 m_log.Debug("[Scene] Finished OnRemovePresence"); 3212 m_log.Debug("[Scene] Finished OnRemovePresence");
3213 3213
3214 CleanDroppedAttachments();
3215
3216 ForEachClient( 3214 ForEachClient(
3217 delegate(IClientAPI client) 3215 delegate(IClientAPI client)
3218 { 3216 {
@@ -3248,6 +3246,7 @@ namespace OpenSim.Region.Framework.Scenes
3248 } 3246 }
3249 m_log.Debug("[Scene] Done. Firing RemoveCircuit"); 3247 m_log.Debug("[Scene] Done. Firing RemoveCircuit");
3250 m_authenticateHandler.RemoveCircuit(avatar.ControllingClient.CircuitCode); 3248 m_authenticateHandler.RemoveCircuit(avatar.ControllingClient.CircuitCode);
3249 CleanDroppedAttachments();
3251 m_log.Debug("[Scene] The avatar has left the building"); 3250 m_log.Debug("[Scene] The avatar has left the building");
3252 //m_log.InfoFormat("[SCENE] Memory pre GC {0}", System.GC.GetTotalMemory(false)); 3251 //m_log.InfoFormat("[SCENE] Memory pre GC {0}", System.GC.GetTotalMemory(false));
3253 //m_log.InfoFormat("[SCENE] Memory post GC {0}", System.GC.GetTotalMemory(true)); 3252 //m_log.InfoFormat("[SCENE] Memory post GC {0}", System.GC.GetTotalMemory(true));