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

for it to complet.  This is not that good, but maybe needed
avinationmerge
UbitUmarov 2014-09-24 17:56:58 +01:00
parent c031f21851
commit 68ea1f7776
1 changed files with 7 additions and 2 deletions

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) protected virtual bool CreateAgent(GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, uint teleportFlags, bool fromLogin, out string reason)
{ {
reason = String.Empty; reason = String.Empty;
/*
Util.FireAndForget(x => Util.FireAndForget(x =>
{ {
string r; string r;
m_SimulationService.CreateAgent(destination, aCircuit, teleportFlags, out r); m_SimulationService.CreateAgent(destination, aCircuit, teleportFlags, out r);
}); });
return true; return true;
*/
return m_SimulationService.CreateAgent(destination, aCircuit, teleportFlags, out reason);
} }
} }