mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Avoid checking m_clients collection twice when a UseCircuitCode packet is received
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user