X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4929b7f325bed62b338613c63af15c75a185effe..0ce627332c4b8ce2f312cc0bd7ec36e0e637d794:/src/instr/instr_paje_containers.cpp diff --git a/src/instr/instr_paje_containers.cpp b/src/instr/instr_paje_containers.cpp index 9e5169fafd..941f2decfa 100644 --- a/src/instr/instr_paje_containers.cpp +++ b/src/instr/instr_paje_containers.cpp @@ -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); }