aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/BlockingQueue.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/BlockingQueue.cs')
-rw-r--r--OpenSim/Framework/BlockingQueue.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Framework/BlockingQueue.cs b/OpenSim/Framework/BlockingQueue.cs
index 3ff3dac..dd6d866 100644
--- a/OpenSim/Framework/BlockingQueue.cs
+++ b/OpenSim/Framework/BlockingQueue.cs
@@ -59,7 +59,10 @@ namespace OpenSim.Framework
59 59
60 public bool Contains(T item) 60 public bool Contains(T item)
61 { 61 {
62 return m_queue.Contains(item); 62 lock (m_queueSync)
63 {
64 return m_queue.Contains(item);
65 }
63 } 66 }
64 } 67 }
65} \ No newline at end of file 68} \ No newline at end of file