X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9d8612c62eaa05c2a8f916ea84eaab8a30b16826..4052b6d9960bd9792127d006c4f359b946cb7baa:/src/kernel/context/Context.cpp diff --git a/src/kernel/context/Context.cpp b/src/kernel/context/Context.cpp index 73dccc4c62..b1af4dc6aa 100644 --- a/src/kernel/context/Context.cpp +++ b/src/kernel/context/Context.cpp @@ -80,7 +80,7 @@ void Context::stop() this->process_->suspended = 0; this->iwannadie = false; - simgrid::simix::kernelImmediate([this] { SIMIX_process_cleanup(this->process_); }); + simgrid::simix::simcall([this] { SIMIX_process_cleanup(this->process_); }); this->iwannadie = true; }