reduce some delay on shutdown

This commit is contained in:
UbitUmarov
2019-01-19 08:31:07 +00:00
parent bef8ea8bcc
commit 2060b70e5d

View File

@@ -141,11 +141,10 @@ namespace OpenSim.Framework.Servers
MainServer.Stop();
Thread.Sleep(5000);
Thread.Sleep(500);
Util.StopThreadPool();
WorkManager.Stop();
Thread.Sleep(1000);
RemovePIDFile();
m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");