Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Destroy dead actors after mc::replay() is completed (fix memory leak).
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 6 Jun 2021 20:40:42 +0000 (22:40 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 6 Jun 2021 20:43:46 +0000 (22:43 +0200)
src/kernel/EngineImpl.cpp

index ab02ceb..79d4709 100644 (file)
@@ -238,6 +238,7 @@ void EngineImpl::run()
 {
   if (MC_record_replay_is_active()) {
     mc::replay(MC_record_path());
+    empty_trash();
     return;
   }