mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
forgot one gc.collect wait for finalizers
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user