Skip to content

Commit

Permalink
Terminate planner in main function using exit_with.
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemensBuechner committed Jan 31, 2024
1 parent 412794f commit 4017f9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/search/planner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,5 @@ int main(int argc, const char **argv) {
ExitCode exitcode = search_algorithm->found_solution()
? ExitCode::SUCCESS
: ExitCode::SEARCH_UNSOLVED_INCOMPLETE;
utils::report_exit_code_reentrant(exitcode);
return static_cast<int>(exitcode);
exit_with(exitcode);
}

0 comments on commit 4017f9e

Please sign in to comment.