forked from StarOpenSource/Engine
Change log messages in Engine#shutdown
This commit is contained in:
parent
8c697b8e58
commit
e9c44d903e
1 changed files with 3 additions and 3 deletions
|
@ -175,11 +175,11 @@ public final class Engine {
|
|||
*/
|
||||
public void shutdown(@Range(from = 0, to = 255) int exitCode) {
|
||||
logger.info("Shutting engine down");
|
||||
logger.verb("Notifiying classes");
|
||||
logger.verb("Notifiying classes about shutdown");
|
||||
new EngineShutdownEvent().callEvent();
|
||||
logger.verb("Notifying subsystems");
|
||||
logger.verb("Notifying subsystems about shutdown");
|
||||
new InternalEngineShutdownEvent().callEvent();
|
||||
logger.verb("Shutting down");
|
||||
logger.verb("Shutting down JVM with code " + exitCode);
|
||||
Runtime.getRuntime().exit(exitCode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue