From 74efe1e393e748d5f9ace32044c705533be64d6a Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 9 Aug 2014 15:08:21 +0100 Subject: [PATCH] explicitly force a reset to the event on creation #Please enter the commit message for your changes. Lines starting --- OpenSim/Capabilities/Caps.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Capabilities/Caps.cs b/OpenSim/Capabilities/Caps.cs index 30a323e348..b35e6b49d6 100644 --- a/OpenSim/Capabilities/Caps.cs +++ b/OpenSim/Capabilities/Caps.cs @@ -139,6 +139,7 @@ namespace OpenSim.Framework.Capabilities m_agentID = agent; m_capsHandlers = new CapsHandlers(httpServer, httpListen, httpPort, (httpServer == null) ? false : httpServer.UseSSL); m_regionName = regionName; + m_capsActive.Reset(); } /// @@ -263,7 +264,7 @@ namespace OpenSim.Framework.Capabilities public bool WaitForActivation() { // Wait for 30s. If that elapses, return false and run without caps - return m_capsActive.WaitOne(30000); + return m_capsActive.WaitOne(120000); } } } \ No newline at end of file