X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1aa500b99be3b2807ddaee6c428a82e09a7c567e..55a9b9fe5663cb2fe2398c14f0e9b11d4a31e3b3:/src/simix/smx_network.c?ds=sidebyside diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index 0de05fa5d7..ab44443d27 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -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);