X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d0e92347e2ff135459af73e2dc199a3d33f684f..2ad1c21496da551e55c7d8e4486a79217a5e6c25:/src/simix/smx_host.c diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index 65afb4ff7c..de979ccc90 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -371,8 +371,12 @@ void SIMIX_execution_finish(smx_action_t action) THROW_IMPOSSIBLE; } req->issuer->waiting_action = NULL; + req->host_execution_wait.result = action->state; SIMIX_request_answer(req); } + + /* We no longer need it */ + SIMIX_host_execution_destroy(action); } void SIMIX_post_host_execute(smx_action_t action)