* DEV: Remove client's CAPS handlers object when they log out
parent
a8aeec29da
commit
d137d4b907
|
@ -1431,7 +1431,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
/// Remove the given presence from the scene.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="agentID"></param>
|
/// <param name="agentID"></param>
|
||||||
public override void RemoveClient(LLUUID agentID)
|
public override void RemoveClient(LLUUID agentID)
|
||||||
|
@ -1461,6 +1461,11 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
childknownRegions.Add(ckn[i]);
|
childknownRegions.Add(ckn[i]);
|
||||||
}
|
}
|
||||||
m_sceneGridService.SendCloseChildAgentConnections(agentID, childknownRegions);
|
m_sceneGridService.SendCloseChildAgentConnections(agentID, childknownRegions);
|
||||||
|
|
||||||
|
if (m_capsHandlers.ContainsKey(agentID))
|
||||||
|
{
|
||||||
|
m_capsHandlers.Remove(agentID);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m_eventManager.TriggerClientClosed(agentID);
|
m_eventManager.TriggerClientClosed(agentID);
|
||||||
|
|
Loading…
Reference in New Issue