diff options
author | UbitUmarov | 2016-12-29 03:12:50 +0000 |
---|---|---|
committer | UbitUmarov | 2016-12-29 03:12:50 +0000 |
commit | 3a310d77c88f4ddd8e564a98ef7c46665999c3a6 (patch) | |
tree | e8c2db3b28b586b9efb19aadf20e60a29dbfe6d5 /OpenSim/Region/ClientStack | |
parent | gc is also a unwanted cache, so use it. With this, memcache with short expire... (diff) | |
download | opensim-SC_OLD-3a310d77c88f4ddd8e564a98ef7c46665999c3a6.zip opensim-SC_OLD-3a310d77c88f4ddd8e564a98ef7c46665999c3a6.tar.gz opensim-SC_OLD-3a310d77c88f4ddd8e564a98ef7c46665999c3a6.tar.bz2 opensim-SC_OLD-3a310d77c88f4ddd8e564a98ef7c46665999c3a6.tar.xz |
forgot one gc.collect wait for finalizers
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index a69b670..55050d9 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -621,7 +621,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
621 | GroupsInView.Clear(); | 621 | GroupsInView.Clear(); |
622 | 622 | ||
623 | if(m_scene.GetNumberOfClients() == 0) | 623 | if(m_scene.GetNumberOfClients() == 0) |
624 | GC.Collect(); | 624 | { |
625 | GC.Collect(); | ||
626 | GC.WaitForPendingFinalizers(); | ||
627 | GC.Collect(); | ||
628 | } | ||
625 | } | 629 | } |
626 | 630 | ||
627 | public void Kick(string message) | 631 | public void Kick(string message) |