X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/40a4a30427bb61e5ecfc2144360581729f41ddfd..39ed918a323bb8b7251c75ca508a215505724a52:/src/msg/gos.c diff --git a/src/msg/gos.c b/src/msg/gos.c index 379ca36228..d255d1d5ff 100644 --- a/src/msg/gos.c +++ b/src/msg/gos.c @@ -62,6 +62,8 @@ static MSG_error_t __MSG_task_get_with_time_out_from_host(m_task_t * task, if(max_duration>0) { if(!first_time) { + PAJE_PROCESS_POP_STATE(process); + PAJE_COMM_STOP(process,t,channel); MSG_RETURN(MSG_TRANSFER_FAILURE); } }