diff options
author | Adam Frisby | 2009-05-10 20:25:05 +0000 |
---|---|---|
committer | Adam Frisby | 2009-05-10 20:25:05 +0000 |
commit | da948a992a54164663b8fee1cd82432017672bc2 (patch) | |
tree | c1f5443a6416945d42e2d905edfd6b8054f08e9f /OpenSim/Region/ClientStack | |
parent | Use the new async handling class to actually make the new asset service's (diff) | |
download | opensim-SC-da948a992a54164663b8fee1cd82432017672bc2.zip opensim-SC-da948a992a54164663b8fee1cd82432017672bc2.tar.gz opensim-SC-da948a992a54164663b8fee1cd82432017672bc2.tar.bz2 opensim-SC-da948a992a54164663b8fee1cd82432017672bc2.tar.xz |
* Attempting to diagnose a core packet issue on Windows/.NET. Adding additional locks to see if it fixes the problem.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs index 9b39292..bb0c0c7 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs | |||
@@ -241,8 +241,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
241 | item.TickCount = System.Environment.TickCount; | 241 | item.TickCount = System.Environment.TickCount; |
242 | if (item.Sequence == 0) | 242 | if (item.Sequence == 0) |
243 | return item; | 243 | return item; |
244 | if (contents.Remove(item.Sequence)) | 244 | lock (contents) |
245 | return item; | 245 | { |
246 | if (contents.Remove(item.Sequence)) | ||
247 | return item; | ||
248 | } | ||
246 | } | 249 | } |
247 | } | 250 | } |
248 | 251 | ||