X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/46f34f3267630e5f6b0e01509626ff06c18d2015..a78e55a602586cf557968132c2d8c30af758af25:/src/mc/explo/Exploration.cpp diff --git a/src/mc/explo/Exploration.cpp b/src/mc/explo/Exploration.cpp index 02a0016b87..1dbe4c41e3 100644 --- a/src/mc/explo/Exploration.cpp +++ b/src/mc/explo/Exploration.cpp @@ -38,6 +38,7 @@ Exploration::~Exploration() { if (dot_output_ != nullptr) fclose(dot_output_); + instance_ = nullptr; } void Exploration::dot_output(const char* fmt, ...) @@ -90,7 +91,6 @@ void Exploration::report_crash(int status) get_remote_app().get_remote_process_memory().dump_stack(); } - get_remote_app().get_remote_process_memory().terminate(); system_exit(SIMGRID_MC_EXIT_PROGRAM_CRASH); } void Exploration::report_assertion_failure()