Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make more sense
[simgrid.git] / src / kernel / activity / ActivityImpl.cpp
index da8f12d..5454050 100644 (file)
@@ -53,6 +53,7 @@ void ActivityImpl::cancel()
   XBT_VERB("Activity %p is canceled", this);
   if (surf_action_ != nullptr)
     surf_action_->cancel();
+  state_ = SIMIX_CANCELED;
 }
 
 // boost::intrusive_ptr<Activity> support: