diff options
Diffstat (limited to 'OpenSim/Framework/MapAndArray.cs')
-rw-r--r-- | OpenSim/Framework/MapAndArray.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/MapAndArray.cs b/OpenSim/Framework/MapAndArray.cs index bbe6a9e..c98d3cc 100644 --- a/OpenSim/Framework/MapAndArray.cs +++ b/OpenSim/Framework/MapAndArray.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -131,7 +131,8 @@ namespace OpenSim.Framework | |||
131 | /// <returns>True if the key was found, otherwise false</returns> | 131 | /// <returns>True if the key was found, otherwise false</returns> |
132 | public bool ContainsKey(TKey key) | 132 | public bool ContainsKey(TKey key) |
133 | { | 133 | { |
134 | return m_dict.ContainsKey(key); | 134 | lock (m_syncRoot) |
135 | return m_dict.ContainsKey(key); | ||
135 | } | 136 | } |
136 | 137 | ||
137 | /// <summary> | 138 | /// <summary> |