diff options
author | Justin Clarke Casey | 2008-03-25 17:08:20 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-03-25 17:08:20 +0000 |
commit | 2517fe7acd97fd93a73d936664415008c0099b00 (patch) | |
tree | 504b65b809dde252e85314eed2a7cdc61a43fbf9 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Update svn properties. (diff) | |
download | opensim-SC_OLD-2517fe7acd97fd93a73d936664415008c0099b00.zip opensim-SC_OLD-2517fe7acd97fd93a73d936664415008c0099b00.tar.gz opensim-SC_OLD-2517fe7acd97fd93a73d936664415008c0099b00.tar.bz2 opensim-SC_OLD-2517fe7acd97fd93a73d936664415008c0099b00.tar.xz |
* Remove old CAPS http listeners when a client logs out from a scene
* Not yet removing listeners when a client leaves a region without logging out
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index bba5ae1..75f8c23 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1463,7 +1463,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1463 | } | 1463 | } |
1464 | 1464 | ||
1465 | /// <summary> | 1465 | /// <summary> |
1466 | /// Remove the given presence from the scene. | 1466 | /// Remove the given client from the scene. |
1467 | /// </summary> | 1467 | /// </summary> |
1468 | /// <param name="agentID"></param> | 1468 | /// <param name="agentID"></param> |
1469 | public override void RemoveClient(LLUUID agentID) | 1469 | public override void RemoveClient(LLUUID agentID) |
@@ -1496,6 +1496,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1496 | 1496 | ||
1497 | if (m_capsHandlers.ContainsKey(agentID)) | 1497 | if (m_capsHandlers.ContainsKey(agentID)) |
1498 | { | 1498 | { |
1499 | m_capsHandlers[agentID].DeregisterHandlers(); | ||
1499 | m_capsHandlers.Remove(agentID); | 1500 | m_capsHandlers.Remove(agentID); |
1500 | } | 1501 | } |
1501 | } | 1502 | } |