From 8b4430374cb4bbc153cea09c7eb2cf39f237bbd1 Mon Sep 17 00:00:00 2001 From: schnorr Date: Fri, 1 Oct 2010 15:20:46 +0000 Subject: [PATCH 1/1] 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 --- src/instr/surf_instr.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.20.1