Made BaseOpenSimServer.ShutdownSpecific() public. As the OpenSimBase.Shutdown() includes a Environment.Exit(0); which is not always wanted when shutting down, like from a windows service.

Again not really a bug fix per se, but its not going to change stablebility.
0.6.0-stable
MW 2008-12-02 11:26:38 +00:00
parent 66737b9c0c
commit 58f3fa71c2
5 changed files with 5 additions and 5 deletions

View File

@ -103,7 +103,7 @@ namespace OpenSim.Framework.Servers
/// <summary>
/// Should be overriden and referenced by descendents if they need to perform extra shutdown processing
/// </summary>
protected virtual void ShutdownSpecific() {}
public virtual void ShutdownSpecific() {}
/// <summary>
/// Print statistics to the logfile, if they are active

View File

@ -195,7 +195,7 @@ namespace OpenSim.Grid.GridServer
*/
}
protected override void ShutdownSpecific()
public override void ShutdownSpecific()
{
foreach (IGridPlugin plugin in m_plugins) plugin.Dispose();
}

View File

@ -174,7 +174,7 @@ namespace OpenSim.Grid.MessagingServer
m_console.Notice("register - (Re-)registers with user-server. This might be necessary if the userserver crashed/restarted");
}
protected override void ShutdownSpecific()
public override void ShutdownSpecific()
{
msgsvc.deregisterWithUserServer();
}

View File

@ -393,7 +393,7 @@ namespace OpenSim.Grid.UserServer
}
protected override void ShutdownSpecific()
public override void ShutdownSpecific()
{
m_loginService.OnUserLoggedInAtLocation -= NotifyMessageServersUserLoggedInToLocation;
}

View File

@ -542,7 +542,7 @@ namespace OpenSim
/// <summary>
/// Performs any last-minute sanity checking and shuts down the region server
/// </summary>
protected override void ShutdownSpecific()
public override void ShutdownSpecific()
{
if (proxyUrl.Length > 0)
{