diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 68df40f..ce7ee98 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -619,11 +619,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
619 | m_entityProps = new PriorityQueue(1); | 619 | m_entityProps = new PriorityQueue(1); |
620 | m_killRecord.Clear(); | 620 | m_killRecord.Clear(); |
621 | GroupsInView.Clear(); | 621 | GroupsInView.Clear(); |
622 | // m_scene = null; can't do this unless checks are added everywhere due to workitems already in pools | ||
623 | 622 | ||
624 | //m_log.InfoFormat("[CLIENTVIEW] Memory pre GC {0}", System.GC.GetTotalMemory(false)); | 623 | if(m_scene.GetNumberOfClients() == 0) |
625 | //GC.Collect(); | 624 | GC.Collect(); |
626 | //m_log.InfoFormat("[CLIENTVIEW] Memory post GC {0}", System.GC.GetTotalMemory(true)); | ||
627 | } | 625 | } |
628 | 626 | ||
629 | public void Kick(string message) | 627 | public void Kick(string message) |