Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix some SMPI+MC bugs
[simgrid.git] / src / simix / smx_network.c
index 0de05fa..ab44443 100644 (file)
@@ -445,7 +445,7 @@ smx_action_t SIMIX_comm_isend(smx_process_t src_proc, smx_rdv_t rdv,
 
   if (MC_is_active()) {
     other_action->state = SIMIX_RUNNING;
-    return other_action;
+    return (detached ? NULL : other_action);
   }
 
   SIMIX_comm_start(other_action);