diff options
author | Diva Canto | 2011-12-16 17:24:50 -0800 |
---|---|---|
committer | Diva Canto | 2011-12-16 17:24:50 -0800 |
commit | 964ec57ffe5ce2e9feac4295ade9cc4a5a223d69 (patch) | |
tree | 7f95b03cc9e2fec622147b7db8e79a79ed53fc8a /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Commented a couple of verbose debug messages. (diff) | |
download | opensim-SC_OLD-964ec57ffe5ce2e9feac4295ade9cc4a5a223d69.zip opensim-SC_OLD-964ec57ffe5ce2e9feac4295ade9cc4a5a223d69.tar.gz opensim-SC_OLD-964ec57ffe5ce2e9feac4295ade9cc4a5a223d69.tar.bz2 opensim-SC_OLD-964ec57ffe5ce2e9feac4295ade9cc4a5a223d69.tar.xz |
Changed the async approach on close child agents. This may improve crossings a little bit.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 800b7e0..b16eaba 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2955,7 +2955,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2955 | if (byebyeRegions.Count > 0) | 2955 | if (byebyeRegions.Count > 0) |
2956 | { | 2956 | { |
2957 | m_log.Debug("[SCENE PRESENCE]: Closing " + byebyeRegions.Count + " child agents"); | 2957 | m_log.Debug("[SCENE PRESENCE]: Closing " + byebyeRegions.Count + " child agents"); |
2958 | m_scene.SceneGridService.SendCloseChildAgentConnections(ControllingClient.AgentId, byebyeRegions); | 2958 | Util.FireAndForget(delegate |
2959 | { | ||
2960 | m_scene.SceneGridService.SendCloseChildAgentConnections(ControllingClient.AgentId, byebyeRegions); | ||
2961 | }); | ||
2959 | } | 2962 | } |
2960 | 2963 | ||
2961 | foreach (ulong handle in byebyeRegions) | 2964 | foreach (ulong handle in byebyeRegions) |