summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
05a2f27)
*** Please double-check this commit ! ***
Try to mimic what's done in generic_update_actions_state_full.
Fixes an "use after free" error with smpi_replay.
model->action_state_set((surf_action_t) action,
SURF_ACTION_DONE);
surf_action_lmm_heap_remove(model->model_private->action_heap,action);
model->action_state_set((surf_action_t) action,
SURF_ACTION_DONE);
surf_action_lmm_heap_remove(model->model_private->action_heap,action);
+
+ if (model->gap_remove && model == surf_network_model)
+ model->gap_remove(action);