mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -195,7 +195,7 @@ namespace OpenSim.Grid.GridServer
|
||||
*/
|
||||
}
|
||||
|
||||
protected override void ShutdownSpecific()
|
||||
public override void ShutdownSpecific()
|
||||
{
|
||||
foreach (IGridPlugin plugin in m_plugins) plugin.Dispose();
|
||||
}
|
||||
|
||||
@@ -179,7 +179,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();
|
||||
}
|
||||
|
||||
@@ -415,7 +415,7 @@ namespace OpenSim.Grid.UserServer
|
||||
|
||||
}
|
||||
|
||||
protected override void ShutdownSpecific()
|
||||
public override void ShutdownSpecific()
|
||||
{
|
||||
m_loginService.OnUserLoggedInAtLocation -= NotifyMessageServersUserLoggedInToLocation;
|
||||
}
|
||||
|
||||
@@ -816,6 +816,5 @@ namespace OpenSim.Grid.UserServer
|
||||
{
|
||||
LogoutUsers(regionID);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -557,7 +557,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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user