res();
} catch (const py::error_already_set& ex) {
XBT_VERB("Actor killed");
- simgrid::ForcefulKillException::do_throw(); // Forward that ForcefulKill exception
+ simgrid::ForcefulKillException::do_throw();
throw;
}
});
fun(*args);
} catch (const py::error_already_set& ex) {
XBT_VERB("Actor killed");
- simgrid::ForcefulKillException::do_throw(); // Forward that ForcefulKill exception
+ simgrid::ForcefulKillException::do_throw();
throw;
}
});
XBT_DEBUG("EngineImpl::shutdown() called. Simulation's over.");
#if HAVE_SMPI
if (not instance_->actor_list_.empty()) {
- if (smpi_process() && smpi_process()->initialized()) {
+ if (smpi_process()->initialized()) {
xbt_die("Process exited without calling MPI_Finalize - Killing simulation");
} else {
XBT_WARN("Process called exit when leaving - Skipping cleanups");