please DIE! PLEASE??

This commit is contained in:
UbitUmarov
2017-05-23 03:26:32 +01:00
parent 7b80bcc57a
commit 928733efc9
7 changed files with 40 additions and 7 deletions

View File

@@ -108,12 +108,17 @@ namespace OpenSim.Framework.Servers
protected override void ShutdownSpecific()
{
m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");
RemovePIDFile();
base.ShutdownSpecific();
MainServer.Stop();
Thread.Sleep(5000);
RemovePIDFile();
m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");
if (!SuppressExit)
Environment.Exit(0);
}