+ actor_->finished_ = true;
+
+ if (actor_->auto_restart_ && actor_->host_->is_off()) {
+ XBT_DEBUG("Insert host %s to watched_hosts because it's off and %s needs to restart", actor_->host_->get_cname(),
+ actor_->get_cname());
+ watched_hosts.insert(actor_->host_->get_cname());
+ }
+