From: Christophe ThiƩry Date: Wed, 9 Nov 2011 11:20:26 +0000 (+0100) Subject: Also remove the comm from processes when SIMIX_post_comm is not called X-Git-Tag: exp_20120216~395 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/56535a019ac972e398628cc6cb7f75cad04e6c4d Also remove the comm from processes when SIMIX_post_comm is not called --- diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index 56f4086130..c3265f6950 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -668,6 +668,7 @@ void SIMIX_comm_finish(smx_action_t action) } req->issuer->waiting_action = NULL; + xbt_fifo_remove(req->issuer->comms, action); SIMIX_request_answer(req); destroy_count++; }