forgot one gc.collect wait for finalizers

melanie
UbitUmarov 2016-12-29 03:12:50 +00:00
parent 1ffcc59818
commit 3a310d77c8
1 changed files with 5 additions and 1 deletions

View File

@ -621,7 +621,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
GroupsInView.Clear();
if(m_scene.GetNumberOfClients() == 0)
{
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
}
}
public void Kick(string message)