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, 6 insertions, 5 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index 2834d94..f832f81 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -136,20 +136,21 @@ namespace OpenSim.Framework.Servers
136 136
137 protected override void ShutdownSpecific() 137 protected override void ShutdownSpecific()
138 { 138 {
139 139 Watchdog.Enabled = false;
140
141 base.ShutdownSpecific(); 140 base.ShutdownSpecific();
142 141
143 MainServer.Stop(); 142 MainServer.Stop();
144 143
145 Thread.Sleep(5000); 144 Thread.Sleep(5000);
146 145 Util.StopThreadPool();
147 WorkManager.Stop(); 146 WorkManager.Stop();
148 147
148 Thread.Sleep(1000);
149 RemovePIDFile(); 149 RemovePIDFile();
150
150 m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting..."); 151 m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");
151 152
152 if (!SuppressExit) 153 if (!SuppressExit)
153 Environment.Exit(0); 154 Environment.Exit(0);
154 } 155 }
155 156