Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make simix_timers NULL so can SIMIX_init works if called again later
[simgrid.git] / src / simix / smx_global.c
index c575ee4..2c5a835 100644 (file)
@@ -135,6 +135,7 @@ void SIMIX_clean(void)
   SIMIX_network_exit();
 
   xbt_heap_free(simix_timers);
+  simix_timers = NULL;
   /* Free the remaining data structures */
   xbt_dynar_free(&simix_global->process_to_run);
   xbt_dynar_free(&simix_global->process_that_ran);