diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs index 2222a33cbe..2972d4691a 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClientCollection.cs @@ -60,7 +60,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP private ImmutableMap m_dict; /// Immutability grants thread safety for concurrent reads and /// read-writes, but not concurrent writes - private object m_writeLock; + private object m_writeLock = new object(); /// Number of clients in the collection public int Count { get { return m_dict.Count; } }