Log output shows graceful shutdown message

This commit is contained in:
Florian Reimair 2020-03-26 09:53:07 +01:00
parent 0fb4f13319
commit c588b19074
No known key found for this signature in database
GPG key ID: 05634D8D7A7954C8

View file

@ -80,8 +80,8 @@ public abstract class ExecutableForAppWithP2p extends BisqExecutable implements
injector.getInstance(OpenOfferManager.class).shutDown(() -> injector.getInstance(P2PService.class).shutDown(() -> {
injector.getInstance(WalletsSetup.class).shutDownComplete.addListener((ov, o, n) -> {
module.close(injector);
log.debug("Graceful shutdown completed");
resultHandler.handleResult();
log.info("Graceful shutdown completed");
System.exit(0);
});
injector.getInstance(WalletsSetup.class).shutDown();