Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into async-wait
[simgrid.git] / src / kernel / context / ContextRaw.cpp
index 00c60085b6ce895f67f52f2f1b45c56aa5460735..244fdd448a0f212649c97e54e56cb2edaaff0ef9 100644 (file)
@@ -293,8 +293,8 @@ void RawContext::wrapper(void* arg)
   RawContext* context = static_cast<RawContext*>(arg);
   try {
     (*context)();
-    context->stop();
-  } catch (StopRequest) {
+    context->Context::stop();
+  } catch (StopRequest const&) {
     XBT_DEBUG("Caught a StopRequest");
   }
   context->suspend();