From b62a0deab582f506ac9733726e0fc81e0097d97f Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 24 Feb 2023 16:12:19 +0100 Subject: [PATCH] Clear timeout detectors on finish(). Fixes transient errors seen with s4u-dht-chord-parallel tests. --- src/kernel/activity/CommImpl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kernel/activity/CommImpl.cpp b/src/kernel/activity/CommImpl.cpp index 3a0b63c28e..4c1deb7cb5 100644 --- a/src/kernel/activity/CommImpl.cpp +++ b/src/kernel/activity/CommImpl.cpp @@ -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(); -- 2.20.1