X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bcc6a05a70ce3c85297a0240f3ad8ccde66cb9e0..f4206a23cb0e9c218713ca1a0c980b9c65ff4710:/src/simdag/sd_global.c?ds=sidebyside diff --git a/src/simdag/sd_global.c b/src/simdag/sd_global.c index 3f1ceb96ac..8f11105ea5 100644 --- a/src/simdag/sd_global.c +++ b/src/simdag/sd_global.c @@ -411,15 +411,16 @@ void SD_exit(void) xbt_swag_free(sd_global->failed_task_set); xbt_swag_free(sd_global->return_set); +#ifdef HAVE_TRACING + TRACE_end(); +#endif + XBT_DEBUG("Exiting Surf..."); surf_exit(); xbt_free(sd_global); sd_global = NULL; -#ifdef HAVE_TRACING - TRACE_end(); -#endif #ifdef HAVE_JEDULE jedule_sd_dump(); jedule_sd_cleanup();