Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't fail miserably when raising an exception after simulation shutdown
[simgrid.git] / src / xbt / xbt_main.c
index 4923f24..e1a234f 100644 (file)
@@ -124,6 +124,7 @@ static void xbt_preinit(void) {
 static void xbt_postexit(void)
 {
   if(!_sg_do_clean_atexit) return;
+  xbt_initialized--;
   xbt_backtrace_postexit();
   xbt_fifo_postexit();
   xbt_dict_postexit();