* Bug fix: Fixes an exception when Scene.RemoveClient is called to remove on a

non-existing ScenePresence avatar. Also removed trailing white spaces.
0.6.6-post-fixes
Arthur Valadares 2009-05-29 21:12:55 +00:00
parent 95643971be
commit 8545621d9b
1 changed files with 121 additions and 121 deletions

View File

@ -2185,7 +2185,6 @@ namespace OpenSim.Region.Framework.Scenes
if (avatar != null) if (avatar != null)
{ {
childagentYN = avatar.IsChildAgent; childagentYN = avatar.IsChildAgent;
}
if (avatar.ParentID != 0) if (avatar.ParentID != 0)
{ {
@ -2276,6 +2275,7 @@ namespace OpenSim.Region.Framework.Scenes
//m_log.InfoFormat("[SCENE] Memory pre GC {0}", System.GC.GetTotalMemory(false)); //m_log.InfoFormat("[SCENE] Memory pre GC {0}", System.GC.GetTotalMemory(false));
//m_log.InfoFormat("[SCENE] Memory post GC {0}", System.GC.GetTotalMemory(true)); //m_log.InfoFormat("[SCENE] Memory post GC {0}", System.GC.GetTotalMemory(true));
} }
}
public void HandleRemoveKnownRegionsFromAvatar(UUID avatarID, List<ulong> regionslst) public void HandleRemoveKnownRegionsFromAvatar(UUID avatarID, List<ulong> regionslst)
{ {