TEST do createAgent sync, forcing grid services and other regions to wait

for it to complet.  This is not that good, but maybe needed
This commit is contained in:
UbitUmarov
2014-09-24 17:56:58 +01:00
parent c031f21851
commit 68ea1f7776

View File

@@ -387,14 +387,19 @@ namespace OpenSim.Server.Handlers.Simulation
protected virtual bool CreateAgent(GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, uint teleportFlags, bool fromLogin, out string reason)
{
reason = String.Empty;
/*
Util.FireAndForget(x =>
{
string r;
m_SimulationService.CreateAgent(destination, aCircuit, teleportFlags, out r);
});
});
return true;
*/
return m_SimulationService.CreateAgent(destination, aCircuit, teleportFlags, out reason);
}
}