mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
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:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user