add a bit more pre exit cleanup

This commit is contained in:
UbitUmarov
2017-05-24 22:17:04 +01:00
parent 2008e65695
commit dca3a45803
4 changed files with 23 additions and 4 deletions

View File

@@ -108,16 +108,16 @@ namespace OpenSim.Framework.Servers
protected override void ShutdownSpecific()
{
Watchdog.Enabled = false;
base.ShutdownSpecific();
MainServer.Stop();
Thread.Sleep(5000);
Util.StopThreadPool();
WorkManager.Stop();
Thread.Sleep(1000);
RemovePIDFile();
m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");