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 else
{ {
ServicePointManager.DefaultConnectionLimit = 12; 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 { } catch { }
} }

View File

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