aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP
diff options
context:
space:
mode:
authorUbitUmarov2016-12-02 13:51:30 +0000
committerUbitUmarov2016-12-02 13:51:30 +0000
commitb981ac42bc0f5ad305068bb2f6f2215010b96990 (patch)
tree99e1625f37c4d144e6076b9bfb9a443d7281cbec /OpenSim/Region/ClientStack/Linden/UDP
parentMerge branch 'master' into httptests (diff)
parent do a GC collect on last client exit (diff)
downloadopensim-SC-b981ac42bc0f5ad305068bb2f6f2215010b96990.zip
opensim-SC-b981ac42bc0f5ad305068bb2f6f2215010b96990.tar.gz
opensim-SC-b981ac42bc0f5ad305068bb2f6f2215010b96990.tar.bz2
opensim-SC-b981ac42bc0f5ad305068bb2f6f2215010b96990.tar.xz
Merge branch 'master' into httptests
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 6cdf6f6..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)
@@ -2996,7 +2994,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2996 return; 2994 return;
2997 } 2995 }
2998 2996
2999 int WearableOut = 0;
3000 bool isWearable = false; 2997 bool isWearable = false;
3001 2998
3002 isWearable = ((AssetType) req.AssetInf.Type == 2999 isWearable = ((AssetType) req.AssetInf.Type ==
@@ -8563,7 +8560,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
8563 // surrounding scene 8560 // surrounding scene
8564 if ((ImageType)block.Type == ImageType.Baked) 8561 if ((ImageType)block.Type == ImageType.Baked)
8565 args.Priority *= 2.0f; 8562 args.Priority *= 2.0f;
8566 int wearableout = 0;
8567 8563
8568 ImageManager.EnqueueReq(args); 8564 ImageManager.EnqueueReq(args);
8569 } 8565 }