aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorDiva Canto2013-06-07 16:01:07 -0700
committerDiva Canto2013-06-07 16:01:07 -0700
commit6aa54a8e168edc40cf85672b2c6edced7db80266 (patch)
tree4ab029b42ecf359794755bcc48bcb950c77b6c5a /OpenSim/Region/Framework/Scenes
parentPut the configuration back in FetchInventoryDesc2 cap. (diff)
parentminor: Comment out debug logging (at warn level) about number of objects forc... (diff)
downloadopensim-SC-6aa54a8e168edc40cf85672b2c6edced7db80266.zip
opensim-SC-6aa54a8e168edc40cf85672b2c6edced7db80266.tar.gz
opensim-SC-6aa54a8e168edc40cf85672b2c6edced7db80266.tar.bz2
opensim-SC-6aa54a8e168edc40cf85672b2c6edced7db80266.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
index 8c84c98..8238e23 100644
--- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
@@ -222,7 +222,12 @@ namespace OpenSim.Region.Framework.Scenes
222 public void SendCloseChildAgentConnections(UUID agentID, List<ulong> regionslst) 222 public void SendCloseChildAgentConnections(UUID agentID, List<ulong> regionslst)
223 { 223 {
224 foreach (ulong handle in regionslst) 224 foreach (ulong handle in regionslst)
225 Util.FireAndForget(delegate { SendCloseChildAgent(agentID, handle); }); 225 {
226 // We must take a copy here since handle is acts like a reference when used in an iterator.
227 // This leads to race conditions if directly passed to SendCloseChildAgent with more than one neighbour region.
228 ulong handleCopy = handle;
229 Util.FireAndForget((o) => { SendCloseChildAgent(agentID, handleCopy); });
230 }
226 } 231 }
227 232
228 public List<GridRegion> RequestNamedRegions(string name, int maxNumber) 233 public List<GridRegion> RequestNamedRegions(string name, int maxNumber)