Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Clear timeout detectors on finish().
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 24 Feb 2023 15:12:19 +0000 (16:12 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 24 Feb 2023 15:42:30 +0000 (16:42 +0100)
Fixes transient errors seen with s4u-dht-chord-parallel tests.

src/kernel/activity/CommImpl.cpp

index 3a0b63c..4c1deb7 100644 (file)
@@ -486,6 +486,8 @@ void CommImpl::finish()
     xbt_assert(to_ && to_->is_on());
     set_state(State::DONE);
   }
+  src_timeout_ = nullptr;
+  dst_timeout_ = nullptr;
 
   /* destroy the model actions associated with the communication activity */
   clean_action();