* Add a close method to the ScenePresenceAnimator that dereferences the class variables and make the ScenePresence Close method call it.
parent
0cb4ff1b68
commit
83694e5578
|
@ -443,5 +443,11 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
|||
|
||||
SendAnimPack(animIDs, sequenceNums, objectIDs);
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
m_animations = null;
|
||||
m_scenePresence = null;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3048,6 +3048,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
m_sceneViewer.Close();
|
||||
|
||||
RemoveFromPhysicalScene();
|
||||
m_animator.Close();
|
||||
m_animator = null;
|
||||
}
|
||||
|
||||
public ScenePresence()
|
||||
|
|
Loading…
Reference in New Issue