aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/PacketServer.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-02-06 20:34:18 +0000
committerJustin Clarke Casey2008-02-06 20:34:18 +0000
commit548bbc97e5d6e2ffaa3068aa0847eaa6c401345d (patch)
tree193f5af76e8a680e6d4e566767033e2c6117bd44 /OpenSim/Region/ClientStack/PacketServer.cs
parentpass 1 on getting colors back to the console (diff)
downloadopensim-SC-548bbc97e5d6e2ffaa3068aa0847eaa6c401345d.zip
opensim-SC-548bbc97e5d6e2ffaa3068aa0847eaa6c401345d.tar.gz
opensim-SC-548bbc97e5d6e2ffaa3068aa0847eaa6c401345d.tar.bz2
opensim-SC-548bbc97e5d6e2ffaa3068aa0847eaa6c401345d.tar.xz
* Chasing down memory leak where memory used by a client is not returned on client logout
* This code may or may not be on the right track, but I want to save my work so far.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/PacketServer.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/PacketServer.cs b/OpenSim/Region/ClientStack/PacketServer.cs
index 7e01adf..9608ce5 100644
--- a/OpenSim/Region/ClientStack/PacketServer.cs
+++ b/OpenSim/Region/ClientStack/PacketServer.cs
@@ -36,6 +36,9 @@ namespace OpenSim.Region.ClientStack
36{ 36{
37 public class PacketServer 37 public class PacketServer
38 { 38 {
39 private static readonly log4net.ILog m_log
40 = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
41
39 private ClientStackNetworkHandler m_networkHandler; 42 private ClientStackNetworkHandler m_networkHandler;
40 private IScene m_scene; 43 private IScene m_scene;
41 44
@@ -132,8 +135,11 @@ namespace OpenSim.Region.ClientStack
132 135
133 public virtual void CloseClient(IClientAPI client) 136 public virtual void CloseClient(IClientAPI client)
134 { 137 {
138 //m_log.Info("PacketServer:CloseClient()");
139
135 CloseCircuit(client.CircuitCode); 140 CloseCircuit(client.CircuitCode);
136 client.Close(false); 141 client.Close(false);
142 m_scene.ClientManager.Remove(client.CircuitCode);
137 } 143 }
138 } 144 }
139} \ No newline at end of file 145}