diff options
author | UbitUmarov | 2017-06-13 14:15:28 +0100 |
---|---|---|
committer | UbitUmarov | 2017-06-13 14:15:28 +0100 |
commit | f33a871d614d9bf3e08b584080f53dc84dde9ec7 (patch) | |
tree | 093ea7130d71612d0874cb8608de96fa63526850 /OpenSim | |
parent | dont let time go back (diff) | |
download | opensim-SC_OLD-f33a871d614d9bf3e08b584080f53dc84dde9ec7.zip opensim-SC_OLD-f33a871d614d9bf3e08b584080f53dc84dde9ec7.tar.gz opensim-SC_OLD-f33a871d614d9bf3e08b584080f53dc84dde9ec7.tar.bz2 opensim-SC_OLD-f33a871d614d9bf3e08b584080f53dc84dde9ec7.tar.xz |
hope gc does remove a little dic and contents
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 1118bb6..d22f75e 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -8042,12 +8042,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
8042 | return true; | 8042 | return true; |
8043 | 8043 | ||
8044 | double now = Util.GetTimeStampMS(); | 8044 | double now = Util.GetTimeStampMS(); |
8045 | if(objImageSeqs == null) | 8045 | if(objImageSeqs == null || ( now - lastobjImageSeqsMS > 30000.0)) |
8046 | objImageSeqs = new Dictionary<uint, uint>(16); | ||
8047 | else | ||
8048 | { | 8046 | { |
8049 | if ( now - lastobjImageSeqsMS > 30000.0) | 8047 | objImageSeqs = null; // yeah i know superstition... |
8050 | objImageSeqs.Clear(); | 8048 | objImageSeqs = new Dictionary<uint, uint>(16); |
8051 | } | 8049 | } |
8052 | 8050 | ||
8053 | lastobjImageSeqsMS = now; | 8051 | lastobjImageSeqsMS = now; |