Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix the addition of detached comms to maestro
[simgrid.git] / src / kernel / activity / CommImpl.cpp
index 67ef311..87e8c5e 100644 (file)
@@ -112,6 +112,7 @@ CommImpl& CommImpl::set_dst_buff(unsigned char* buff, size_t* size)
 CommImpl& CommImpl::detach()
 {
   detached_ = true;
+  EngineImpl::get_instance()->get_maestro()->activities_.emplace_back(this);
   return *this;
 }