* DEV: Remove client's CAPS handlers object when they log out

0.6.0-stable
Justin Clarke Casey 2008-03-17 18:16:36 +00:00
parent a8aeec29da
commit d137d4b907
1 changed files with 6 additions and 1 deletions

View File

@ -1431,7 +1431,7 @@ namespace OpenSim.Region.Environment.Scenes
}
/// <summary>
///
/// Remove the given presence from the scene.
/// </summary>
/// <param name="agentID"></param>
public override void RemoveClient(LLUUID agentID)
@ -1461,6 +1461,11 @@ namespace OpenSim.Region.Environment.Scenes
childknownRegions.Add(ckn[i]);
}
m_sceneGridService.SendCloseChildAgentConnections(agentID, childknownRegions);
if (m_capsHandlers.ContainsKey(agentID))
{
m_capsHandlers.Remove(agentID);
}
}
m_eventManager.TriggerClientClosed(agentID);