X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/247fba2eee61dc2a8e06c6f1339437dcb4481c3b..ca9a033421bed9944ee0412aa1341e584a0d9010:/src/simix/ActorImpl.cpp diff --git a/src/simix/ActorImpl.cpp b/src/simix/ActorImpl.cpp index 4637cc3ab1..850e828c54 100644 --- a/src/simix/ActorImpl.cpp +++ b/src/simix/ActorImpl.cpp @@ -67,6 +67,9 @@ ActorImpl::~ActorImpl() void ActorImpl::cleanup() { + if (this == simix_global->maestro_process) /* Do not cleanup maestro */ + return; + XBT_DEBUG("Cleanup actor %s (%p), waiting synchro %p", get_cname(), this, waiting_synchro.get()); simix_global->mutex.lock();