From 1677bde48027f13ed986a865951f3e94fe3499b7 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 13 Feb 2008 00:52:49 +0000 Subject: * Clean up the agent's asset transactions when it is removed from the scene * This may or may not help with the memory leak, need to assess --- OpenSim/Region/Environment/Scenes/Scene.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 62437cf..d763d35 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -1466,6 +1466,8 @@ namespace OpenSim.Region.Environment.Scenes ForEachScenePresence( delegate(ScenePresence presence) { presence.CoarseLocationChange(); }); + + CommsManager.TransactionsManager.RemoveAgentAssetTransactions(agentID); lock (m_scenePresences) { -- cgit v1.1