Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reinitialize waiting_action at proper place.
[simgrid.git] / src / simix / smx_synchro.c
index c9af7b9..2e71eba 100644 (file)
@@ -109,6 +109,7 @@ static void SIMIX_synchro_finish(smx_action_t action)
   }
 
   SIMIX_synchro_stop_waiting(simcall->issuer, simcall);
+  simcall->issuer->waiting_action = NULL;
   SIMIX_synchro_destroy(action);
   SIMIX_simcall_answer(simcall);
   XBT_OUT();