diff options
Diffstat (limited to 'runtime/ruleset.c')
-rw-r--r-- | runtime/ruleset.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/ruleset.c b/runtime/ruleset.c index 4ac0039a..6013baf7 100644 --- a/runtime/ruleset.c +++ b/runtime/ruleset.c @@ -169,8 +169,14 @@ execAct(struct cnfstmt *stmt, msg_t *pMsg, wti_t *pWti) // if we actually are permitted to execute this action. // NOTE: this will primarily be handled by end-of-batch processing + if(getActionState(pWti, stmt->d.act) == ACT_STATE_DIED) { + DBGPRINTF("action %d died, do NOT execute\n", stmt->d.act->iActionNbr); + goto done; + } + DBGPRINTF("executing action %d\n", stmt->d.act->iActionNbr); stmt->d.act->submitToActQ(stmt->d.act, pWti, pMsg); +done: return; } static void |