diff --git a/OpenSim/Framework/MapAndArray.cs b/OpenSim/Framework/MapAndArray.cs
index bbe6a9e28e..c98d3ccd6f 100644
--- a/OpenSim/Framework/MapAndArray.cs
+++ b/OpenSim/Framework/MapAndArray.cs
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
@@ -131,7 +131,8 @@ namespace OpenSim.Framework
/// True if the key was found, otherwise false
public bool ContainsKey(TKey key)
{
- return m_dict.ContainsKey(key);
+ lock (m_syncRoot)
+ return m_dict.ContainsKey(key);
}
///