mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Forgot to initialize m_writeLock
This commit is contained in:
@@ -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; } }
|
||||
|
||||
Reference in New Issue
Block a user