Added client disconnect when server shuts down

This commit is contained in:
Obique
2015-05-16 20:16:01 -05:00
committed by Obique
parent ade367266d
commit 7c97a6ec57
7 changed files with 90 additions and 22 deletions
+6
View File
@@ -106,6 +106,12 @@ public class CoreManager extends Manager {
return galaxy != null && super.initialize();
}
@Override
public boolean stop() {
galaxy.setStatus(GalaxyStatus.LOCKED);
return super.stop();
}
@Override
public boolean terminate() {
shutdownService.shutdownNow();