mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
merge master
This commit is contained in:
@@ -136,12 +136,19 @@ 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);
|
||||
|
||||
WorkManager.Stop();
|
||||
|
||||
RemovePIDFile();
|
||||
m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");
|
||||
|
||||
if (!SuppressExit)
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user