Avoid checking m_clients collection twice when a UseCircuitCode packet is received

This commit is contained in:
John Hurliman
2009-10-13 11:28:08 -07:00
parent 82ace481c9
commit f55b282078
2 changed files with 30 additions and 28 deletions

View File

@@ -131,7 +131,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
/// <param name="action">Action to perform on each element</param>
public void ForEach(Action<LLUDPClient> action)
{
Parallel.ForEach<LLUDPClient>(m_dict.Values, action);
Parallel.ForEach<LLUDPClient>(m_dict.Values, action);
}
}
}