Skip to content

Commit

Permalink
Merge branch 'main' into GH-570-pause-at-block-test
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner authored Dec 9, 2024
2 parents 836f87d + 3b4eaa6 commit eda3cd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4413,7 +4413,8 @@ struct controller_impl {
if (!switch_fork) {
if (check_shutdown()) {
shutdown();
break; // result should be complete since we are shutting down
result = controller::apply_blocks_result::incomplete; // doesn't really matter since we are shutting down
break;
}
if (result == controller::apply_blocks_result::complete) {
// Break every ~500ms to allow other tasks (e.g. get_info, SHiP) opportunity to run. User expected
Expand Down

0 comments on commit eda3cd2

Please sign in to comment.