hope gc does remove a little dic and contents

0.9.0-post-fixes
UbitUmarov 2017-06-13 14:15:28 +01:00
parent fd8836e493
commit f33a871d61
1 changed files with 3 additions and 5 deletions

View File

@ -8042,12 +8042,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
return true;
double now = Util.GetTimeStampMS();
if(objImageSeqs == null)
objImageSeqs = new Dictionary<uint, uint>(16);
else
if(objImageSeqs == null || ( now - lastobjImageSeqsMS > 30000.0))
{
if ( now - lastobjImageSeqsMS > 30000.0)
objImageSeqs.Clear();
objImageSeqs = null; // yeah i know superstition...
objImageSeqs = new Dictionary<uint, uint>(16);
}
lastobjImageSeqsMS = now;