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; return true;
double now = Util.GetTimeStampMS(); double now = Util.GetTimeStampMS();
if(objImageSeqs == null) if(objImageSeqs == null || ( now - lastobjImageSeqsMS > 30000.0))
objImageSeqs = new Dictionary<uint, uint>(16);
else
{ {
if ( now - lastobjImageSeqsMS > 30000.0) objImageSeqs = null; // yeah i know superstition...
objImageSeqs.Clear(); objImageSeqs = new Dictionary<uint, uint>(16);
} }
lastobjImageSeqsMS = now; lastobjImageSeqsMS = now;