aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/PacketServer.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-02-08 22:39:08 +0000
committerJustin Clarke Casey2008-02-08 22:39:08 +0000
commitf05f583613850ef480d7be6a74220da0507e8b9b (patch)
tree480e50a550ea79e096b9c821eeacdef753afd5fa /OpenSim/Region/ClientStack/PacketServer.cs
parent* Finished Cylinder in the Meshmerizer. Hollow and Path cut work for it now. ... (diff)
downloadopensim-SC_OLD-f05f583613850ef480d7be6a74220da0507e8b9b.zip
opensim-SC_OLD-f05f583613850ef480d7be6a74220da0507e8b9b.tar.gz
opensim-SC_OLD-f05f583613850ef480d7be6a74220da0507e8b9b.tar.bz2
opensim-SC_OLD-f05f583613850ef480d7be6a74220da0507e8b9b.tar.xz
Still chasing logout memory leak. Putting in small changes and temporary light verbosity to this end
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/PacketServer.cs12
1 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/PacketServer.cs b/OpenSim/Region/ClientStack/PacketServer.cs
index 9608ce5..7036de93 100644
--- a/OpenSim/Region/ClientStack/PacketServer.cs
+++ b/OpenSim/Region/ClientStack/PacketServer.cs
@@ -25,6 +25,8 @@
25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26* 26*
27*/ 27*/
28
29using System;
28using System.Net; 30using System.Net;
29using System.Net.Sockets; 31using System.Net.Sockets;
30using libsecondlife; 32using libsecondlife;
@@ -133,13 +135,17 @@ namespace OpenSim.Region.ClientStack
133 //m_scene.ClientManager.CloseAllAgents(circuitcode); 135 //m_scene.ClientManager.CloseAllAgents(circuitcode);
134 } 136 }
135 137
138 /// <summary>
139 /// Completely close down the given client.
140 /// </summary>
141 /// <param name="client"></param>
136 public virtual void CloseClient(IClientAPI client) 142 public virtual void CloseClient(IClientAPI client)
137 { 143 {
138 //m_log.Info("PacketServer:CloseClient()"); 144 m_log.Info("PacketServer:CloseClient()");
139 145
140 CloseCircuit(client.CircuitCode); 146 CloseCircuit(client.CircuitCode);
147 m_scene.ClientManager.Remove(client.CircuitCode);
141 client.Close(false); 148 client.Close(false);
142 m_scene.ClientManager.Remove(client.CircuitCode);
143 } 149 }
144 } 150 }
145} 151}