- DEBUG1("Next Event : " "%g" "\n", now);
-
- xbt_dynar_foreach(model_list, i, model) {
- DEBUG1("\t %s actions\n", model->common_public->name);
- while ((action =
- xbt_swag_extract(model->common_public->states.
- failed_action_set))) {
- DEBUG1("\t * Failed : %p\n", action);
- model->common_public->action_free(action);
+ DEBUG1("Next Event : %g", now);
+
+ xbt_dynar_foreach(model_list, iter, model) {
+ DEBUG1("\t %s actions", model->name);
+ while ((action = xbt_swag_extract(model->states.failed_action_set))) {
+ DEBUG1("\t * Failed : %p", action);
+ model->action_unref(action);
+ }
+ while ((action = xbt_swag_extract(model->states.done_action_set))) {
+ DEBUG1("\t * Done : %p", action);
+ model->action_unref(action);