Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let the actor clean for itself
[simgrid.git] / src / kernel / context / Context.cpp
index dc182b9..bbbf5eb 100644 (file)
@@ -99,12 +99,6 @@ void Context::stop()
   simgrid::simix::simcall([this] {
     simgrid::s4u::Actor::on_destruction(actor_->iface());
 
-    /* Unregister from the kill timer if any */
-    if (actor_->kill_timer != nullptr) {
-      actor_->kill_timer->remove();
-      actor_->kill_timer = nullptr;
-    }
-
     actor_->cleanup();
   });
   this->iwannadie = true;