Merge branch 'master' into httptests

This commit is contained in:
UbitUmarov
2016-12-02 13:51:30 +00:00
10 changed files with 174 additions and 160 deletions

View File

@@ -619,11 +619,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
m_entityProps = new PriorityQueue(1);
m_killRecord.Clear();
GroupsInView.Clear();
// m_scene = null; can't do this unless checks are added everywhere due to workitems already in pools
//m_log.InfoFormat("[CLIENTVIEW] Memory pre GC {0}", System.GC.GetTotalMemory(false));
//GC.Collect();
//m_log.InfoFormat("[CLIENTVIEW] Memory post GC {0}", System.GC.GetTotalMemory(true));
if(m_scene.GetNumberOfClients() == 0)
GC.Collect();
}
public void Kick(string message)
@@ -2996,7 +2994,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
return;
}
int WearableOut = 0;
bool isWearable = false;
isWearable = ((AssetType) req.AssetInf.Type ==
@@ -8563,7 +8560,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
// surrounding scene
if ((ImageType)block.Type == ImageType.Baked)
args.Priority *= 2.0f;
int wearableout = 0;
ImageManager.EnqueueReq(args);
}