X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d6fe500813d00b30525b071d9038a7edf7104267..5963dc7702840c2a23af05563584baab8cc2a78a:/src/gras/gras.c diff --git a/src/gras/gras.c b/src/gras/gras.c index 4ab3eea60d..5aba78e461 100644 --- a/src/gras/gras.c +++ b/src/gras/gras.c @@ -87,6 +87,7 @@ void gras_exit(void) { INFO0("Exiting GRAS"); amok_exit(); gras_moddata_leave(); + gras_process_exit(); if (--gras_running_process == 0) { gras_msg_exit(); gras_trp_exit(); @@ -94,7 +95,6 @@ void gras_exit(void) { gras_emul_exit(); gras_moddata_exit(); } - gras_process_exit(); xbt_exit(); }