diff options
author | Justin Clark-Casey (justincc) | 2011-12-03 16:11:47 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-12-03 16:11:47 +0000 |
commit | c934901a056f142c49e6b449971fcaf59ff19d82 (patch) | |
tree | d3376fd8c5ff665dc3045f68250b6b9fe547a53a /OpenSim/Region/Application | |
parent | Add agent circuit number checks to TestCloseAgent() (diff) | |
download | opensim-SC-c934901a056f142c49e6b449971fcaf59ff19d82.zip opensim-SC-c934901a056f142c49e6b449971fcaf59ff19d82.tar.gz opensim-SC-c934901a056f142c49e6b449971fcaf59ff19d82.tar.bz2 opensim-SC-c934901a056f142c49e6b449971fcaf59ff19d82.tar.xz |
Use GetAgentCircuits() to receive a copy of the AgentCircuitsByUUID dictionary rather than AgentCircuitManager.AgentCircuits directly in "show circuits" to avoid enumeration exceptions
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 4b38a2e..8d98cc9 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -1039,7 +1039,7 @@ namespace OpenSim | |||
1039 | { | 1039 | { |
1040 | //this.HttpServer. | 1040 | //this.HttpServer. |
1041 | acd.AppendFormat("{0}:\n", scene.RegionInfo.RegionName); | 1041 | acd.AppendFormat("{0}:\n", scene.RegionInfo.RegionName); |
1042 | foreach (AgentCircuitData aCircuit in scene.AuthenticateHandler.AgentCircuits.Values) | 1042 | foreach (AgentCircuitData aCircuit in scene.AuthenticateHandler.GetAgentCircuits().Values) |
1043 | acd.AppendFormat("\t{0} {1} ({2})\n", aCircuit.firstname, aCircuit.lastname, (aCircuit.child ? "Child" : "Root")); | 1043 | acd.AppendFormat("\t{0} {1} ({2})\n", aCircuit.firstname, aCircuit.lastname, (aCircuit.child ? "Child" : "Root")); |
1044 | } | 1044 | } |
1045 | ); | 1045 | ); |