diff --git a/smp/src/island.cpp b/smp/src/island.cpp index 22ab472cf..d0c7997ee 100644 --- a/smp/src/island.cpp +++ b/smp/src/island.cpp @@ -68,6 +68,9 @@ void paradiseo::smp::Island::operator()() // Let's wait the end of communications with the island model for(auto& message : sentMessages) message.join(); + + // Clear the sentMessages container + sentMessages.clear(); } template