From 6bd89f7dad5bea13f81855c1aab19058632df8a4 Mon Sep 17 00:00:00 2001 From: diva Date: Tue, 14 Apr 2009 02:21:40 +0000 Subject: Cleaning up old circuit upon client close. --- OpenSim/Region/Framework/Scenes/Scene.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 49b8bda..c26adc0 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -2248,6 +2248,8 @@ namespace OpenSim.Region.Framework.Scenes m_sceneGridService.ClearUserAgent(agentID); } + m_authenticateHandler.RemoveCircuit(avatar.ControllingClient.CircuitCode); + //m_log.InfoFormat("[SCENE] Memory pre GC {0}", System.GC.GetTotalMemory(false)); //m_log.InfoFormat("[SCENE] Memory post GC {0}", System.GC.GetTotalMemory(true)); } -- cgit v1.1