X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0b348e806f86cd8c138b8485c8d41c041ccad610..a976ff26ca5afba53350d9ed449c122b52972824:/src/surf/surf_interface.cpp diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index 2786df7d8e..c85eba3fef 100644 --- a/src/surf/surf_interface.cpp +++ b/src/surf/surf_interface.cpp @@ -36,13 +36,6 @@ std::vector host_that_restart; std::set watched_hosts; extern std::map storage_types; -namespace simgrid { -namespace surf { - -simgrid::xbt::signal surfExitCallbacks; -} -} - #include // FIXME: this plug-in should not be linked to the core #include // FIXME: this plug-in should not be linked to the core @@ -324,11 +317,8 @@ void surf_exit() delete model; delete all_existing_models; - - if (future_evt_set) { - delete future_evt_set; - future_evt_set = nullptr; - } + delete future_evt_set; + future_evt_set = nullptr; tmgr_finalize(); sg_platf_exit();