X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/272ccad1b68b6d9c17069f3c934886925bb15b5d..cb6c404ed6a176ee440c09957a8fd9f34918a29b:/src/simix/smx_host.c diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index 299864a5f9..815d947a5d 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -348,13 +348,7 @@ void SIMIX_execution_finish(smx_action_t action) case SIMIX_FAILED: XBT_DEBUG("SIMIX_execution_finished: host '%s' failed", simcall->issuer->smx_host->name); - if (simcall->issuer->smx_host == action->execution.host) { - // add a reference to the action that will be destroyed when the killed process is cleaned up, and by the end of the current function - surf_action_ref(action->execution.surf_exec); - SIMIX_process_kill(simcall->issuer); - } else { - SMX_EXCEPTION(simcall->issuer, host_error, 0, "Host failed"); - } + SMX_EXCEPTION(simcall->issuer, host_error, 0, "Host failed"); break; case SIMIX_CANCELED: