Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use signals on PajeEvent creation/destruction
[simgrid.git] / src / instr / instr_paje_containers.cpp
index 9e5169f..941f2de 100644 (file)
@@ -91,6 +91,10 @@ Container::~Container()
   // remove me from the allContainers data structure
   allContainers.erase(name_);
 
+  // obligation to dump previous events because they might reference the container that is about to be destroyed
+  last_timestamp_to_dump = SIMIX_get_clock();
+  dump_buffer(true);
+
   on_destruction(*this);
 }