diff options
author | Justin Clarke Casey | 2008-02-13 00:52:49 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-02-13 00:52:49 +0000 |
commit | 1677bde48027f13ed986a865951f3e94fe3499b7 (patch) | |
tree | 716bd3eef7bea295efff79050160694f50aab934 /OpenSim/Region | |
parent | * Refactor: Move last commit's refactor back to AgentAssetTransactionsManager (diff) | |
download | opensim-SC-1677bde48027f13ed986a865951f3e94fe3499b7.zip opensim-SC-1677bde48027f13ed986a865951f3e94fe3499b7.tar.gz opensim-SC-1677bde48027f13ed986a865951f3e94fe3499b7.tar.bz2 opensim-SC-1677bde48027f13ed986a865951f3e94fe3499b7.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
1466 | 1466 | ||
1467 | ForEachScenePresence( | 1467 | ForEachScenePresence( |
1468 | delegate(ScenePresence presence) { presence.CoarseLocationChange(); }); | 1468 | delegate(ScenePresence presence) { presence.CoarseLocationChange(); }); |
1469 | |||
1470 | CommsManager.TransactionsManager.RemoveAgentAssetTransactions(agentID); | ||
1469 | 1471 | ||
1470 | lock (m_scenePresences) | 1472 | lock (m_scenePresences) |
1471 | { | 1473 | { |