diff --git a/smp/src/island.cpp b/smp/src/island.cpp index 1d9cb8a52..92880f6a9 100644 --- a/smp/src/island.cpp +++ b/smp/src/island.cpp @@ -55,11 +55,10 @@ void paradiseo::smp::Island::operator()() { stopped = false; algo(pop); + stopped = true; // Let's wait the end of communications with the island model for(auto& message : sentMessages) message.join(); - stopped = true; - //std::cout << "Fin de l'île " << this << std::endl; } template