aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs
diff options
context:
space:
mode:
authorDiva Canto2009-10-08 15:42:08 -0700
committerDiva Canto2009-10-08 15:42:08 -0700
commit51ea39199bc875aa0803231aa1dfc43471fcabd6 (patch)
treec721368f01e8b507c97ccee2e4ac04ff4d1aee87 /OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs
parentFork UDPBase from libOMV into opensim (diff)
downloadopensim-SC_OLD-51ea39199bc875aa0803231aa1dfc43471fcabd6.zip
opensim-SC_OLD-51ea39199bc875aa0803231aa1dfc43471fcabd6.tar.gz
opensim-SC_OLD-51ea39199bc875aa0803231aa1dfc43471fcabd6.tar.bz2
opensim-SC_OLD-51ea39199bc875aa0803231aa1dfc43471fcabd6.tar.xz
Putting the lock back in TryGetValue.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs
index f6ccf01..dbb9861 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs
@@ -224,16 +224,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP
224 224
225 ////return success; 225 ////return success;
226 226
227 //lock (m_sync) 227 lock (m_sync)
228 // return Dictionary1.TryGetValue(key, out value); 228 return Dictionary1.TryGetValue(key, out value);
229 229
230 try 230 //try
231 { 231 //{
232 return Dictionary1.TryGetValue(key, out value); 232 // return Dictionary1.TryGetValue(key, out value);
233 } 233 //}
234 catch { } 234 //catch { }
235 value = null; 235 //value = null;
236 return false; 236 //return false;
237 } 237 }
238 238
239 public bool TryGetValue(IPEndPoint key, out LLUDPClient value) 239 public bool TryGetValue(IPEndPoint key, out LLUDPClient value)