From: schnorr Date: Fri, 1 Oct 2010 15:20:46 +0000 (+0000) Subject: proper closing the LINK containers at the end of the trace X-Git-Tag: v3_5~502 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8b4430374cb4bbc153cea09c7eb2cf39f237bbd1 proper closing the LINK containers at the end of the trace git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8322 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/instr/surf_instr.c b/src/instr/surf_instr.c index a7b424b7d9..5192505f3e 100644 --- a/src/instr/surf_instr.c +++ b/src/instr/surf_instr.c @@ -180,6 +180,9 @@ void TRACE_msg_clean (void) xbt_dict_foreach(host_containers, cursor, key, value) { pajeDestroyContainer (MSG_get_clock(), "HOST", key); } + xbt_dict_foreach(created_links, cursor, key, value) { + pajeDestroyContainer (MSG_get_clock(), "LINK", key); + } } void TRACE_surf_host_vivaldi_parse (char *host, double x, double y, double h)