TEST do createAgent sync, forcing grid services and other regions to wait
for it to complet. This is not that good, but maybe neededavinationmerge
parent
c031f21851
commit
68ea1f7776
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue