From: Martin Quinson Date: Thu, 14 Mar 2019 21:59:10 +0000 (+0100) Subject: cleaning the actor twice seems somewhat overplayed X-Git-Tag: v3_22~93 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fbf5fafb60eb44c0c00a7283fd05a6dec5f2b58f cleaning the actor twice seems somewhat overplayed --- diff --git a/src/kernel/context/Context.cpp b/src/kernel/context/Context.cpp index bbbf5eb061..b69f8d0ff0 100644 --- a/src/kernel/context/Context.cpp +++ b/src/kernel/context/Context.cpp @@ -98,8 +98,6 @@ void Context::stop() this->iwannadie = false; // don't let the simcall's yield() do a Context::stop(), because that's me simgrid::simix::simcall([this] { simgrid::s4u::Actor::on_destruction(actor_->iface()); - - actor_->cleanup(); }); this->iwannadie = true; }