IPlanExecutor executor = BDIInterpreter.getInterpreter(state).getPlanExecutor(rplan); if(executor!=null) executor.cleanup(BDIInterpreter.getInterpreter(state), rplan); PlanRules.cleanupPlanWait(state, rcapa, rplan, true);
IPlanExecutor executor = BDIInterpreter.getInterpreter(state).getPlanExecutor(rplan); if(executor!=null) executor.cleanup(BDIInterpreter.getInterpreter(state), rplan); PlanRules.cleanupPlanWait(state, rcapa, rplan, true);