diff options
author | UbitUmarov | 2017-05-25 10:23:52 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-25 10:23:52 +0100 |
commit | 27779953315e160067080b6f17945ab54695d63f (patch) | |
tree | 36e66eeaf84fd48382ab89278c7b150723a45235 /OpenSim/Framework/Servers/BaseOpenSimServer.cs | |
parent | merge master (diff) | |
parent | add some checks for valid endpoints (diff) | |
download | opensim-SC-27779953315e160067080b6f17945ab54695d63f.zip opensim-SC-27779953315e160067080b6f17945ab54695d63f.tar.gz opensim-SC-27779953315e160067080b6f17945ab54695d63f.tar.bz2 opensim-SC-27779953315e160067080b6f17945ab54695d63f.tar.xz |
Merge branch 'master' into httptests
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 11 |
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 | ||