same thing on another lock(acd)
parent
d96fe6eaf5
commit
4206c1248f
|
@ -3583,6 +3583,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// <param name='closeChildAgents'>
|
/// <param name='closeChildAgents'>
|
||||||
/// Close the neighbour child agents associated with this client.
|
/// Close the neighbour child agents associated with this client.
|
||||||
/// </param>
|
/// </param>
|
||||||
|
///
|
||||||
|
|
||||||
|
private object m_removeClientPrivLock = new Object();
|
||||||
|
|
||||||
public void RemoveClient(UUID agentID, bool closeChildAgents)
|
public void RemoveClient(UUID agentID, bool closeChildAgents)
|
||||||
{
|
{
|
||||||
AgentCircuitData acd = m_authenticateHandler.GetAgentCircuitData(agentID);
|
AgentCircuitData acd = m_authenticateHandler.GetAgentCircuitData(agentID);
|
||||||
|
@ -3603,7 +3607,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Can we now remove this lock?
|
// TODO: Can we now remove this lock?
|
||||||
lock (acd)
|
lock (m_removeClientPrivLock)
|
||||||
{
|
{
|
||||||
bool isChildAgent = false;
|
bool isChildAgent = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue