X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/78ac10bd286f7403b2ea645b68eda599e1035092..22a6d90e2d923507bc5b418147c8e3d5c9a8f9e9:/src/surf/HostImpl.cpp diff --git a/src/surf/HostImpl.cpp b/src/surf/HostImpl.cpp index 088e84864c..f2b102c987 100644 --- a/src/surf/HostImpl.cpp +++ b/src/surf/HostImpl.cpp @@ -105,6 +105,7 @@ void HostImpl::turn_on() XBT_DEBUG("Booting Actor %s(%s) right now", arg->name.c_str(), arg->host->get_cname()); simgrid::kernel::actor::ActorImplPtr actor = simgrid::kernel::actor::ActorImpl::create( arg->name.c_str(), arg->code, nullptr, arg->host, arg->properties.get(), nullptr); + actor->on_exit = arg->on_exit; if (arg->kill_time >= 0) actor->set_kill_time(arg->kill_time); if (arg->auto_restart)