mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
* refactor: make shutdown a template method in the same manner as startup, for consistency's sake
This commit is contained in:
@@ -167,11 +167,9 @@ namespace OpenSim.Grid.GridServer
|
||||
*/
|
||||
}
|
||||
|
||||
public override void Shutdown()
|
||||
protected override void ShutdownSpecific()
|
||||
{
|
||||
foreach (IGridPlugin plugin in m_plugins) plugin.Dispose();
|
||||
|
||||
base.Shutdown();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -160,11 +160,9 @@ namespace OpenSim.Grid.MessagingServer
|
||||
m_console.Notice("clear-cache - Clears region cache. Should be done when regions change position. The region cache gets stale after a while.");
|
||||
}
|
||||
|
||||
public override void Shutdown()
|
||||
protected override void ShutdownSpecific()
|
||||
{
|
||||
msgsvc.deregisterWithUserServer();
|
||||
|
||||
base.Shutdown();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -392,11 +392,9 @@ namespace OpenSim.Grid.UserServer
|
||||
|
||||
}
|
||||
|
||||
public override void Shutdown()
|
||||
protected override void ShutdownSpecific()
|
||||
{
|
||||
m_loginService.OnUserLoggedInAtLocation -= NotifyMessageServersUserLoggedInToLocation;
|
||||
|
||||
base.Shutdown();
|
||||
}
|
||||
|
||||
public void TestResponse(List<InventoryFolderBase> resp)
|
||||
|
||||
Reference in New Issue
Block a user