diff options
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.
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r-- | OpenSim/Grid/GridServer/GridServerBase.cs | 2 | ||||
-rw-r--r-- | OpenSim/Grid/MessagingServer/Main.cs | 2 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 2 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer/UserManager.cs | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Grid/GridServer/GridServerBase.cs b/OpenSim/Grid/GridServer/GridServerBase.cs index 9652765..68edbd2 100644 --- a/OpenSim/Grid/GridServer/GridServerBase.cs +++ b/OpenSim/Grid/GridServer/GridServerBase.cs | |||
@@ -195,7 +195,7 @@ namespace OpenSim.Grid.GridServer | |||
195 | */ | 195 | */ |
196 | } | 196 | } |
197 | 197 | ||
198 | protected override void ShutdownSpecific() | 198 | public override void ShutdownSpecific() |
199 | { | 199 | { |
200 | foreach (IGridPlugin plugin in m_plugins) plugin.Dispose(); | 200 | foreach (IGridPlugin plugin in m_plugins) plugin.Dispose(); |
201 | } | 201 | } |
diff --git a/OpenSim/Grid/MessagingServer/Main.cs b/OpenSim/Grid/MessagingServer/Main.cs index d683d5b..e83da7a 100644 --- a/OpenSim/Grid/MessagingServer/Main.cs +++ b/OpenSim/Grid/MessagingServer/Main.cs | |||
@@ -179,7 +179,7 @@ namespace OpenSim.Grid.MessagingServer | |||
179 | m_console.Notice("register - (Re-)registers with user-server. This might be necessary if the userserver crashed/restarted"); | 179 | m_console.Notice("register - (Re-)registers with user-server. This might be necessary if the userserver crashed/restarted"); |
180 | } | 180 | } |
181 | 181 | ||
182 | protected override void ShutdownSpecific() | 182 | public override void ShutdownSpecific() |
183 | { | 183 | { |
184 | msgsvc.deregisterWithUserServer(); | 184 | msgsvc.deregisterWithUserServer(); |
185 | } | 185 | } |
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index 6d7a331..4fc5815 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -415,7 +415,7 @@ namespace OpenSim.Grid.UserServer | |||
415 | 415 | ||
416 | } | 416 | } |
417 | 417 | ||
418 | protected override void ShutdownSpecific() | 418 | public override void ShutdownSpecific() |
419 | { | 419 | { |
420 | m_loginService.OnUserLoggedInAtLocation -= NotifyMessageServersUserLoggedInToLocation; | 420 | m_loginService.OnUserLoggedInAtLocation -= NotifyMessageServersUserLoggedInToLocation; |
421 | } | 421 | } |
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index 377ff3a..65e19b2 100644 --- a/OpenSim/Grid/UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs | |||
@@ -816,6 +816,5 @@ namespace OpenSim.Grid.UserServer | |||
816 | { | 816 | { |
817 | LogoutUsers(regionID); | 817 | LogoutUsers(regionID); |
818 | } | 818 | } |
819 | |||
820 | } | 819 | } |
821 | } | 820 | } |