aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseOpenSimServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index c7f0136..2834d94 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -136,12 +136,19 @@ namespace OpenSim.Framework.Servers
136 136
137 protected override void ShutdownSpecific() 137 protected override void ShutdownSpecific()
138 { 138 {
139 m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");
140 139
141 RemovePIDFile();
142 140
143 base.ShutdownSpecific(); 141 base.ShutdownSpecific();
144 142
143 MainServer.Stop();
144
145 Thread.Sleep(5000);
146
147 WorkManager.Stop();
148
149 RemovePIDFile();
150 m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");
151
145 if (!SuppressExit) 152 if (!SuppressExit)
146 Environment.Exit(0); 153 Environment.Exit(0);
147 } 154 }