From 03b8dadef0ec9851bf6230513d8d5e331e17c217 Mon Sep 17 00:00:00 2001 From: Stan Kladko <13399135+kladkogex@users.noreply.github.com> Date: Mon, 22 May 2023 18:02:18 +0100 Subject: [PATCH] 774 and 775 incorrect exit --- .idea/workspace.xml | 20 +++++++++----------- node/ConsensusEngine.cpp | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9c28edf86..df0281e35 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -44,9 +44,7 @@ - - - + diff --git a/node/ConsensusEngine.cpp b/node/ConsensusEngine.cpp index 5d0e1b556..0ec2c0bdd 100644 --- a/node/ConsensusEngine.cpp +++ b/node/ConsensusEngine.cpp @@ -802,9 +802,9 @@ void ConsensusEngine::exitGracefullyAsync() { try { LOG( info, "Node exit called" ); node->doSoftAndThenHardExit(); + LOG( info, "Node exit completed" ); } catch ( exception& e ) { SkaleException::logNested( e ); - LOG( info, "Node exit completed" ); } catch ( ... ) { }; } ).detach();