hope gc does remove a little dic and contents
parent
fd8836e493
commit
f33a871d61
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue