diff options
author | Adam Frisby | 2008-11-18 00:47:30 +0000 |
---|---|---|
committer | Adam Frisby | 2008-11-18 00:47:30 +0000 |
commit | 434afaf717eef01f26b6b95ba8b4ae50fc470a4c (patch) | |
tree | 149637356d5a88ea2320fb3f56fd157c40cd41b1 /OpenSim/Framework/ClientManager.cs | |
parent | Prevent the texture downloader from locking a null object when a download (diff) | |
download | opensim-SC-434afaf717eef01f26b6b95ba8b4ae50fc470a4c.zip opensim-SC-434afaf717eef01f26b6b95ba8b4ae50fc470a4c.tar.gz opensim-SC-434afaf717eef01f26b6b95ba8b4ae50fc470a4c.tar.bz2 opensim-SC-434afaf717eef01f26b6b95ba8b4ae50fc470a4c.tar.xz |
* Added and removed debug information relating to client connections
* Minor client fixes
* Added the ability for a client to login without a UserProfile, allowing certain alternate clients to connect to the region.
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]; |