X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0184f298bc4cc735d2cf2604e430d85d350d4b7c..f8498e93073ae2ad6e6e19571ecf52c9104edbd0:/src/kernel/activity/ExecImpl.cpp diff --git a/src/kernel/activity/ExecImpl.cpp b/src/kernel/activity/ExecImpl.cpp index 0e4d8ed443..5c12267a8e 100644 --- a/src/kernel/activity/ExecImpl.cpp +++ b/src/kernel/activity/ExecImpl.cpp @@ -164,10 +164,8 @@ void ExecImpl::post() on_completion(*this); - if (surf_action_) { - surf_action_->unref(); - surf_action_ = nullptr; - } + clean_action(); + if (timeout_detector_) { timeout_detector_->unref(); timeout_detector_ = nullptr;