Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More cleanup in contexts' stop().
[simgrid.git] / src / kernel / context / ContextThread.cpp
index 395e730..8e9ee72 100644 (file)
@@ -153,8 +153,8 @@ void *ThreadContext::wrapper(void *param)
 
   try {
     (*context)();
-    context->stop();
-  } catch (StopRequest) {
+    context->Context::stop();
+  } catch (StopRequest const&) {
     XBT_DEBUG("Caught a StopRequest");
   }