forgot one gc.collect wait for finalizers
parent
1ffcc59818
commit
3a310d77c8
|
@ -621,7 +621,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
GroupsInView.Clear();
|
||||
|
||||
if(m_scene.GetNumberOfClients() == 0)
|
||||
GC.Collect();
|
||||
{
|
||||
GC.Collect();
|
||||
GC.WaitForPendingFinalizers();
|
||||
GC.Collect();
|
||||
}
|
||||
}
|
||||
|
||||
public void Kick(string message)
|
||||
|
|
Loading…
Reference in New Issue