+ for (const auto& activity : EngineImpl::get_instance()->get_maestro()->activities_) {
+ auto* exec = dynamic_cast<activity::ExecImpl*>(activity.get());
+ if (exec != nullptr) {
+ auto hosts = exec->get_hosts();
+ if (std::find(hosts.begin(), hosts.end(), &piface_) != hosts.end()) {
+ exec->cancel();
+ exec->set_state(activity::State::FAILED);
+ }
+ }
+ }