A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move sg_cmdline to xbt/virtu.h module, and rename it to xbt_cmdline
[simgrid.git]
/
src
/
surf
/
surf_action.c
diff --git
a/src/surf/surf_action.c
b/src/surf/surf_action.c
index 90d1878604a3e69c29dbcc37852c2cf3fd65630d..e05e199402e88fa25de97d08f3e68f09b08fef0e 100644
(file)
--- a/
src/surf/surf_action.c
+++ b/
src/surf/surf_action.c
@@
-434,6
+434,9
@@
void generic_update_actions_state_lazy(double now, double delta, surf_model_t mo
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);
}
}
}