From 2fee5c0d119e7ff6ea60c1e4c558dab1d913ad48 Mon Sep 17 00:00:00 2001 From: cristianrosa Date: Mon, 20 Dec 2010 09:45:39 +0000 Subject: [PATCH] Bugfix: return after answering the request when running in MC mode. Othrewise it will answer the request twice. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9299 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/simix/smx_host.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index afc406c6d2..205c46b1cb 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -311,6 +311,7 @@ void SIMIX_pre_host_execution_wait(smx_req_t req) if (MC_IS_ENABLED){ action->state = SIMIX_DONE; SIMIX_execution_finish(action); + return; } /* If the action is already finished then perform the error handling */ -- 2.20.1