From: schnorr Date: Wed, 29 Dec 2010 11:38:04 +0000 (+0000) Subject: [trace] dump previous events because container is about to be destroyed X-Git-Tag: v3.6_beta2~593 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c0cd87aa44735bbe29b683e4aeec31b31bfe3777 [trace] dump previous events because container is about to be destroyed git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9333 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/instr/instr_paje.c b/src/instr/instr_paje.c index 98cbc479a7..275b57d2a5 100644 --- a/src/instr/instr_paje.c +++ b/src/instr/instr_paje.c @@ -265,6 +265,9 @@ void destroyContainer (container_t container) //trace my destruction new_pajeDestroyContainer(container); + //obligation to dump previous events because they might + //reference the container that is about to be destroyed + TRACE_last_timestamp_to_dump = surf_get_clock(); TRACE_paje_dump_buffer(); //free