mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
explicitly force a reset to the event on creation
#Please enter the commit message for your changes. Lines starting
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user