* Chasing down memory leak where memory used by a client is not returned on client logout

* This code may or may not be on the right track, but I want to save my work so far.
This commit is contained in:
Justin Clarke Casey
2008-02-06 20:34:18 +00:00
parent b3e85daf02
commit 548bbc97e5
5 changed files with 50 additions and 10 deletions

View File

@@ -39,6 +39,11 @@ namespace OpenSim.Region.Environment.Scenes
{
public class ScenePresence : EntityBase
{
~ScenePresence()
{
m_log.Info("[ScenePresence] Destructor called");
}
private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
public static AvatarAnimations Animations = new AvatarAnimations();
@@ -1728,4 +1733,4 @@ namespace OpenSim.Region.Environment.Scenes
RemoveFromPhysicalScene();
}
}
}
}