mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Still chasing logout memory leak. Putting in small changes and temporary light verbosity to this end
This commit is contained in:
@@ -1445,7 +1445,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
|
||||
// Remove client agent from profile, so new logins will work
|
||||
CommsManager.UserService.clearUserAgent(agentID);
|
||||
CommsManager.UserService.clearUserAgent(agentID);
|
||||
|
||||
//m_log.Info(String.Format("[SCENE] Memory pre GC {0}", System.GC.GetTotalMemory(false)));
|
||||
//m_log.Info(String.Format("[SCENE] Memory post GC {0}", System.GC.GetTotalMemory(true)));
|
||||
}
|
||||
|
||||
public override void CloseAllAgents(uint circuitcode)
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
~ScenePresence()
|
||||
{
|
||||
m_log.Info("[ScenePresence] Destructor called");
|
||||
System.Console.WriteLine("[ScenePresence] Destructor called");
|
||||
}
|
||||
|
||||
private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
Reference in New Issue
Block a user