mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-10 00:13:42 -04:00
Added client disconnect when server shuts down
This commit is contained in:
@@ -62,6 +62,15 @@ public class Service implements IntentReceiver {
|
||||
return DataManager.getInstance().isInitialized();
|
||||
}
|
||||
|
||||
/**
|
||||
* Stops the service. If the service returns false on this method then the
|
||||
* service failed to stop and may not have fully locked down.
|
||||
* @return TRUE if stopping was successful, FALSe otherwise
|
||||
*/
|
||||
public boolean stop() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Terminates this service. If the service returns false on this method
|
||||
* then the service failed to shut down and resources may not have been
|
||||
@@ -69,7 +78,6 @@ public class Service implements IntentReceiver {
|
||||
* @return TRUE if termination was successful, FALSE otherwise
|
||||
*/
|
||||
public boolean terminate() {
|
||||
IntentManager.getInstance().terminate();
|
||||
return ServerManager.getInstance().terminate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user