* Add a close method to the ScenePresenceAnimator that dereferences the class variables and make the ScenePresence Close method call it.

mysql-performance
Teravus Ovares (Dan Olivares) 2009-11-30 14:03:20 -05:00
parent 0cb4ff1b68
commit 83694e5578
2 changed files with 9 additions and 1 deletions

View File

@ -443,5 +443,11 @@ namespace OpenSim.Region.Framework.Scenes.Animation
SendAnimPack(animIDs, sequenceNums, objectIDs); SendAnimPack(animIDs, sequenceNums, objectIDs);
} }
public void Close()
{
m_animations = null;
m_scenePresence = null;
}
} }
} }

View File

@ -3048,6 +3048,8 @@ namespace OpenSim.Region.Framework.Scenes
m_sceneViewer.Close(); m_sceneViewer.Close();
RemoveFromPhysicalScene(); RemoveFromPhysicalScene();
m_animator.Close();
m_animator = null;
} }
public ScenePresence() public ScenePresence()