diff options
Diffstat (limited to 'OpenSim/Framework/ClientManager.cs')
-rw-r--r-- | OpenSim/Framework/ClientManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs index 1bb9836..cdccf0e 100644 --- a/OpenSim/Framework/ClientManager.cs +++ b/OpenSim/Framework/ClientManager.cs | |||
@@ -49,8 +49,7 @@ namespace OpenSim.Framework | |||
49 | 49 | ||
50 | public void ForEachClient(ForEachClientDelegate whatToDo) | 50 | public void ForEachClient(ForEachClientDelegate whatToDo) |
51 | { | 51 | { |
52 | // Wasteful, I know | 52 | IClientAPI[] LocalClients; |
53 | IClientAPI[] LocalClients = new IClientAPI[0]; | ||
54 | lock (m_clients) | 53 | lock (m_clients) |
55 | { | 54 | { |
56 | LocalClients = new IClientAPI[m_clients.Count]; | 55 | LocalClients = new IClientAPI[m_clients.Count]; |