diff options
author | Justin Clarke Casey | 2008-03-17 18:16:36 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-03-17 18:16:36 +0000 |
commit | d137d4b907aa2fc66ec21d9f9d6eca793af86520 (patch) | |
tree | 49320373157286fb326fbcd392012d853dc9a422 /OpenSim/Region/Environment | |
parent | Fix a few mono compiler warnings. Minor cleanup. (diff) | |
download | opensim-SC_OLD-d137d4b907aa2fc66ec21d9f9d6eca793af86520.zip opensim-SC_OLD-d137d4b907aa2fc66ec21d9f9d6eca793af86520.tar.gz opensim-SC_OLD-d137d4b907aa2fc66ec21d9f9d6eca793af86520.tar.bz2 opensim-SC_OLD-d137d4b907aa2fc66ec21d9f9d6eca793af86520.tar.xz |
* DEV: Remove client's CAPS handlers object when they log out
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 9466ab9..a477468 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1431,7 +1431,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1431 | } | 1431 | } |
1432 | 1432 | ||
1433 | /// <summary> | 1433 | /// <summary> |
1434 | /// | 1434 | /// Remove the given presence from the scene. |
1435 | /// </summary> | 1435 | /// </summary> |
1436 | /// <param name="agentID"></param> | 1436 | /// <param name="agentID"></param> |
1437 | public override void RemoveClient(LLUUID agentID) | 1437 | public override void RemoveClient(LLUUID agentID) |
@@ -1461,6 +1461,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
1461 | childknownRegions.Add(ckn[i]); | 1461 | childknownRegions.Add(ckn[i]); |
1462 | } | 1462 | } |
1463 | m_sceneGridService.SendCloseChildAgentConnections(agentID, childknownRegions); | 1463 | m_sceneGridService.SendCloseChildAgentConnections(agentID, childknownRegions); |
1464 | |||
1465 | if (m_capsHandlers.ContainsKey(agentID)) | ||
1466 | { | ||
1467 | m_capsHandlers.Remove(agentID); | ||
1468 | } | ||
1464 | } | 1469 | } |
1465 | 1470 | ||
1466 | m_eventManager.TriggerClientClosed(agentID); | 1471 | m_eventManager.TriggerClientClosed(agentID); |