Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Oct 16, 2023
1 parent 8e63f98 commit da27c68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/wrench/simgrid_S4U_util/S4U_Daemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,10 @@ namespace wrench {
// until the host has a >0 pstate
S4U_Simulation::computeZeroFlop();
this->state = State::UP;
auto stuff = this->main();
this->return_value = stuff;
this->return_value = this->main();
this->has_returned_from_main = true;
this->state = State::DOWN;
S4U_Daemon::map_actor_to_recv_mailbox.erase(simgrid::s4u::this_actor::get_pid());

this->mailbox->set_receiver(nullptr);
S4U_Mailbox::retireTemporaryMailbox(this->mailbox);
this->recv_mailbox->set_receiver(nullptr);
Expand Down

0 comments on commit da27c68

Please sign in to comment.