From: Lucas Schnorr Date: Fri, 20 Jan 2012 14:39:51 +0000 (+0100) Subject: [trace] when a process ends, remove its container from the parent as well X-Git-Tag: exp_20120216~119^2~56 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/af006a958431122eb7510e4b9341864ca992bd4c [trace] when a process ends, remove its container from the parent as well --- diff --git a/src/instr/instr_msg_process.c b/src/instr/instr_msg_process.c index 365651cb2e..c752a1b67b 100644 --- a/src/instr/instr_msg_process.c +++ b/src/instr/instr_msg_process.c @@ -148,7 +148,9 @@ void TRACE_msg_process_end(m_process_t process) char str[INSTR_DEFAULT_STR_SIZE]; //that's the end, let's destroy it - destroyContainer (getContainer(instr_process_id(process, str, len))); + container_t container = getContainer(instr_process_id(process, str, len)); + removeContainerFromParent (container); + destroyContainer (container); } }