diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 8 |
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 | } |