X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/907c889c95625b16b6a51b0f9e256108c9f46cdd..2365d7b12787079bebea3da822e8ee3e8b3f08db:/src/gras/gras.c diff --git a/src/gras/gras.c b/src/gras/gras.c index 8df74c5239..9e826f72ac 100644 --- a/src/gras/gras.c +++ b/src/gras/gras.c @@ -1,9 +1,7 @@ -/* $Id$ */ - /* gras.c -- generic functions not fitting anywhere else */ -/* Copyright (c) 2003, 2004 Martin Quinson. */ -/* All rights reserved. */ +/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -146,12 +144,11 @@ void gras_init(int *argc, char **argv) void gras_exit(void) { gras_procdata_t *pd; - if (gras_if_RL()) - INFO0("Exiting GRAS"); + INFO0("Exiting GRAS"); amok_exit(); gras_moddata_leave(); pd = gras_procdata_get(); - gras_msg_listener_shutdown(pd->listener); + gras_msg_listener_shutdown(); gras_process_exit(); if (--gras_running_process == 0) { gras_msg_exit(); @@ -160,7 +157,6 @@ void gras_exit(void) gras_emul_exit(); gras_moddata_exit(); } - xbt_exit(); } const char *hexa_str(unsigned char *data, int size, int downside)