From: mquinson Date: Wed, 11 Jul 2007 11:10:42 +0000 (+0000) Subject: please shutdown the process/agent BEFORE the whole gras mecanisms are shut down X-Git-Tag: v3.3~1633 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5963dc7702840c2a23af05563584baab8cc2a78a?ds=sidebyside;hp=d6fe500813d00b30525b071d9038a7edf7104267 please shutdown the process/agent BEFORE the whole gras mecanisms are shut down git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3727 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- 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(); }