diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 9 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index d76ed3e..58a7b20 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |||
@@ -204,13 +204,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
204 | /// <param name="regionslst"></param> | 204 | /// <param name="regionslst"></param> |
205 | public void SendCloseChildAgentConnections(UUID agentID, List<ulong> regionslst) | 205 | public void SendCloseChildAgentConnections(UUID agentID, List<ulong> regionslst) |
206 | { | 206 | { |
207 | Util.FireAndForget(delegate | 207 | foreach (ulong handle in regionslst) |
208 | { | 208 | { |
209 | foreach (ulong handle in regionslst) | 209 | SendCloseChildAgent(agentID, handle); |
210 | { | 210 | } |
211 | SendCloseChildAgent(agentID, handle); | ||
212 | } | ||
213 | }); | ||
214 | } | 211 | } |
215 | 212 | ||
216 | public List<GridRegion> RequestNamedRegions(string name, int maxNumber) | 213 | public List<GridRegion> RequestNamedRegions(string name, int maxNumber) |
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) |