give up on the code to stop AsyncCommandManager. It fails with many scripts running, and its only done deep on exit code. It is a backgroud thread should not block exit and never did

0.9.0-post-fixes
UbitUmarov 2017-05-24 02:19:25 +01:00
parent 07e614a32c
commit 8989e8ef3a
2 changed files with 4 additions and 2 deletions

View File

@ -79,7 +79,7 @@ namespace OpenSim
else
{
ServicePointManager.DefaultConnectionLimit = 12;
try { ServicePointManager.DnsRefreshTimeout = 120000; } // just is case crazy some mono decides to have it infinity
try { ServicePointManager.DnsRefreshTimeout = 120000; } // just is case some crazy mono decides to have it infinity
catch { }
}

View File

@ -188,9 +188,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
cmdHandlerThreadCycleSleepms = 100;
}
/*
~AsyncCommandManager()
{
// Shut down thread
try
{
lock (staticLock)
@ -213,7 +215,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
}
}
*/
/// <summary>
/// Main loop for the manager thread
/// </summary>