on presence close(), release animator and OnRegionHeartbeatEnd event

avinationmerge
UbitUmarov 2012-08-03 20:13:51 +01:00
parent d677db338d
commit b95caaa453
1 changed files with 7 additions and 0 deletions

View File

@ -3585,6 +3585,13 @@ namespace OpenSim.Region.Framework.Scenes
// m_reprioritizationTimer.Dispose();
RemoveFromPhysicalScene();
m_scene.EventManager.OnRegionHeartbeatEnd -= RegionHeartbeatEnd;
// if (Animator != null)
// Animator.Close();
Animator = null;
}
public void AddAttachment(SceneObjectGroup gobj)