control:action: Timer based actions run actions on stop timer

When the `call_actions_based_on_timer` action is triggered and it
results in stopping its timer and that timer is not running, it results
in running all of its configured actions. The idea behind this action is
to run a set of actions when its configured timer expires and to not run
that set of actions if the state results in the timer being disabled.
However, when the state results in what would have caused the timer to
be disabled occurs after the timer has already expired, the set of
actions should also then be run, which is what this change adds.

Change-Id: Ie5e53790d6b5bad1fedf3bcd68128df03b0b6317
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
1 file changed