diff options
author | Adam Frisby | 2008-05-08 05:35:01 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-08 05:35:01 +0000 |
commit | 4fa0cbdfbb9b8c1b60c8f23edb6301962afd8533 (patch) | |
tree | 810a9afdba93b636a3589d1b8dc82d7ba932f28f /OpenSim/Framework/ClientManager.cs | |
parent | * Reduced major-ass ugly code in LoadBalancer/TcpClient.cs (diff) | |
download | opensim-SC_OLD-4fa0cbdfbb9b8c1b60c8f23edb6301962afd8533.zip opensim-SC_OLD-4fa0cbdfbb9b8c1b60c8f23edb6301962afd8533.tar.gz opensim-SC_OLD-4fa0cbdfbb9b8c1b60c8f23edb6301962afd8533.tar.bz2 opensim-SC_OLD-4fa0cbdfbb9b8c1b60c8f23edb6301962afd8533.tar.xz |
* You can haz more spring cleaning.
* Eventually this codebase will be clean. >_>
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 4f21ab6..272cf2b 100644 --- a/OpenSim/Framework/ClientManager.cs +++ b/OpenSim/Framework/ClientManager.cs | |||
@@ -188,8 +188,7 @@ namespace OpenSim.Framework | |||
188 | } | 188 | } |
189 | packet.Effect = effectBlock.ToArray(); | 189 | packet.Effect = effectBlock.ToArray(); |
190 | 190 | ||
191 | // Wasteful, I know | 191 | IClientAPI[] LocalClients; |
192 | IClientAPI[] LocalClients = new IClientAPI[0]; | ||
193 | lock (m_clients) | 192 | lock (m_clients) |
194 | { | 193 | { |
195 | LocalClients = new IClientAPI[m_clients.Count]; | 194 | LocalClients = new IClientAPI[m_clients.Count]; |