X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/98cff65e9cd63d5efbbb10170dae58ff18ec6747..d185bae25f7b17fd34cdea9b4f038a021b6f526d:/src/kernel/context/ContextRaw.cpp diff --git a/src/kernel/context/ContextRaw.cpp b/src/kernel/context/ContextRaw.cpp index 00c60085b6..244fdd448a 100644 --- a/src/kernel/context/ContextRaw.cpp +++ b/src/kernel/context/ContextRaw.cpp @@ -293,8 +293,8 @@ void RawContext::wrapper(void* arg) RawContext* context = static_cast(arg); try { (*context)(); - context->stop(); - } catch (StopRequest) { + context->Context::stop(); + } catch (StopRequest const&) { XBT_DEBUG("Caught a StopRequest"); } context->suspend();