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 3705f68..f5e5c18 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -99,6 +99,11 @@ namespace OpenSim.Framework.Servers
99 /// Must be overriden by child classes for their own server specific startup behaviour. 99 /// Must be overriden by child classes for their own server specific startup behaviour.
100 /// </summary> 100 /// </summary>
101 protected abstract void StartupSpecific(); 101 protected abstract void StartupSpecific();
102
103 /// <summary>
104 /// Should be overriden and referenced by descendents if they need to perform extra shutdown processing
105 /// </summary>
106 protected virtual void ShutdownSpecific() {}
102 107
103 /// <summary> 108 /// <summary>
104 /// Print statistics to the logfile, if they are active 109 /// Print statistics to the logfile, if they are active
@@ -222,11 +227,13 @@ namespace OpenSim.Framework.Servers
222 227
223 /// <summary> 228 /// <summary>
224 /// Should be overriden and referenced by descendents if they need to perform extra shutdown processing 229 /// Should be overriden and referenced by descendents if they need to perform extra shutdown processing
225 /// </summary> 230 /// </summary>
226 public virtual void Shutdown() 231 public virtual void Shutdown()
227 { 232 {
233 ShutdownSpecific();
234
228 m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting..."); 235 m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");
229 236
230 Environment.Exit(0); 237 Environment.Exit(0);
231 } 238 }
232 239