Changed the async approach on close child agents. This may improve crossings a little bit.

This commit is contained in:
Diva Canto
2011-12-16 17:24:50 -08:00
parent 99623894c7
commit 964ec57ffe
2 changed files with 7 additions and 7 deletions

View File

@@ -204,13 +204,10 @@ namespace OpenSim.Region.Framework.Scenes
/// <param name="regionslst"></param>
public void SendCloseChildAgentConnections(UUID agentID, List<ulong> regionslst)
{
Util.FireAndForget(delegate
foreach (ulong handle in regionslst)
{
foreach (ulong handle in regionslst)
{
SendCloseChildAgent(agentID, handle);
}
});
SendCloseChildAgent(agentID, handle);
}
}
public List<GridRegion> RequestNamedRegions(string name, int maxNumber)