From 68ea1f7776e5a3457dd995fb80cc10e77b122dad Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 24 Sep 2014 17:56:58 +0100 Subject: [PATCH] TEST do createAgent sync, forcing grid services and other regions to wait for it to complet. This is not that good, but maybe needed --- OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 964ccf85a1..62fe3c9c7a 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs @@ -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); + } }