diff options
author | John Hurliman | 2009-10-14 14:25:58 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-14 14:25:58 -0700 |
commit | 1e9e9df0b3c2c6fad5e94db96c799bb31c193af1 (patch) | |
tree | 383ef98b9ec98793103cbf21235df80523ce9e71 /OpenSim/Region/Application | |
parent | * Added the "show connections" command to print out all of the currently trac... (diff) | |
download | opensim-SC-1e9e9df0b3c2c6fad5e94db96c799bb31c193af1.zip opensim-SC-1e9e9df0b3c2c6fad5e94db96c799bb31c193af1.tar.gz opensim-SC-1e9e9df0b3c2c6fad5e94db96c799bb31c193af1.tar.bz2 opensim-SC-1e9e9df0b3c2c6fad5e94db96c799bb31c193af1.tar.xz |
* Switched to a plain lock for the ClientManager collections and protected the TryGetValues with try/catch instead of a lock
* Added ClientManager.ForEachSync() for operations that need to run synchronously, such as "show connections"
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 0fcc21e..ca6a2a3 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -933,7 +933,7 @@ namespace OpenSim | |||
933 | m_sceneManager.ForEachScene( | 933 | m_sceneManager.ForEachScene( |
934 | delegate(Scene scene) | 934 | delegate(Scene scene) |
935 | { | 935 | { |
936 | scene.ClientManager.ForEach( | 936 | scene.ClientManager.ForEachSync( |
937 | delegate(IClientAPI client) | 937 | delegate(IClientAPI client) |
938 | { | 938 | { |
939 | connections.AppendFormat("{0}: {1} ({2}) from {3} on circuit {4}\n", | 939 | connections.AppendFormat("{0}: {1} ({2}) from {3} on circuit {4}\n", |