X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e2f13c6eb4d0c1b07e1b32a75016431dd75a68d2..289295b516f9d71a4085af90fcce8db803779937:/src/simix/smx_global.cpp diff --git a/src/simix/smx_global.cpp b/src/simix/smx_global.cpp index 5831192050..bf12e24bd9 100644 --- a/src/simix/smx_global.cpp +++ b/src/simix/smx_global.cpp @@ -140,14 +140,6 @@ static void install_segvhandler() #endif /* _WIN32 */ -/********************************* SIMIX **************************************/ -namespace simgrid { -namespace simix { - - -} // namespace simix -} // namespace simgrid - static simgrid::kernel::actor::ActorCode maestro_code; void SIMIX_set_maestro(void (*code)(void*), void* data) { @@ -233,16 +225,12 @@ void SIMIX_clean() engine->run_all_actors(); engine->empty_trash(); - /* Exit the SIMIX network module */ - SIMIX_mailbox_exit(); - - /* Let's free maestro now */ delete simix_global->maestro_; simix_global->maestro_ = nullptr; /* Finish context module and SURF */ - SIMIX_context_mod_exit(); + simix_global->destroy_context_factory(); surf_exit();