mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
hope gc does remove a little dic and contents
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user