Forgot to initialize m_writeLock

prioritization
John Hurliman 2009-10-09 02:18:25 -07:00
parent a3e31cdeaf
commit 76a5cae0b4
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
private ImmutableMap<IPEndPoint, LLUDPClient> m_dict;
/// <summary>Immutability grants thread safety for concurrent reads and
/// read-writes, but not concurrent writes</summary>
private object m_writeLock;
private object m_writeLock = new object();
/// <summary>Number of clients in the collection</summary>
public int Count { get { return m_dict.Count; } }