Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
now that mmalloc doesn't break tesh anymore nor nothing visible, enable the legacy...
[simgrid.git] / src / surf / surf.c
index b33f395..95a6dca 100644 (file)
@@ -102,7 +102,7 @@ int __surf_is_absolute_file_path(const char *file_path)
 #endif
 }
 
-static double NOW = 0;
+double NOW = 0;
 
 xbt_dynar_t model_list = NULL;
 tmgr_history_t history = NULL;
@@ -337,7 +337,6 @@ void surf_exit(void)
   surf_parse_free_callbacks();
   xbt_dict_free(&route_table);
   NOW = 0;                      /* Just in case the user plans to restart the simulation afterward */
-  xbt_exit();
 }
 
 void surf_presolve(void)