Toward transferring the removal of some actions from ModelExecution to FuncNode or...
[c11tester.git] / funcnode.cc
index dc903ef82a49782f857c870a47ff793a9578aec1..69d8b80e4694fd54804d3070da62eae14ca6cbf2 100644 (file)
@@ -184,6 +184,7 @@ void FuncNode::update_tree(action_list_t * act_list)
 
        for (sllnode<ModelAction *> * it = act_list->begin();it != NULL;it = it->getNext()) {
                ModelAction * act = it->getVal();
+               act->setFuncActRef(NULL);       // Remove func_act_ref so that this action can be removed
                FuncInst * func_inst = get_inst(act);
                void * loc = act->get_location();