Skip to content

Commit b37c13f

Browse files
committed
fix logging on app shut down
1 parent dd95e72 commit b37c13f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/java/haveno/core/app/HavenoExecutable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,9 @@ public void gracefulShutDown(ResultHandler onShutdown, boolean systemExit) {
361361

362362
// shut down p2p service
363363
injector.getInstance(P2PService.class).shutDown(() -> {
364-
log.info("Done shutting down OpenOfferManager, OfferBookService, and P2PService");
365364

366365
// shut down monero wallets and connections
366+
log.info("Shutting down wallet and connection services");
367367
injector.getInstance(WalletsSetup.class).shutDownComplete.addListener((ov, o, n) -> {
368368

369369
// done shutting down

core/src/main/java/haveno/core/app/misc/ExecutableForAppWithP2p.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ public void gracefulShutDown(ResultHandler resultHandler) {
125125

126126
// shut down p2p service
127127
injector.getInstance(P2PService.class).shutDown(() -> {
128-
log.info("Done shutting down OpenOfferManager, OfferBookService, and P2PService");
129128

130129
// shut down monero wallets and connections
130+
log.info("Shutting down wallet and connection services");
131131
injector.getInstance(WalletsSetup.class).shutDownComplete.addListener((ov, o, n) -> {
132132
module.close(injector);
133133
PersistenceManager.flushAllDataToDiskAtShutdown(() -> {

0 commit comments

Comments
 (0)