lib/openwfe/expressions/fe_cursor.rb in openwferu-0.9.15 vs lib/openwfe/expressions/fe_cursor.rb in openwferu-0.9.16
- old
+ new
@@ -81,13 +81,10 @@
attr_accessor \
:loop_id,
:current_child_id,
:current_child_fei
- #
- # apply / reply
-
def apply (workitem)
@loop_id = 0
@current_child_id = -1
@@ -159,11 +156,13 @@
#
# takes care of cancelling the current child if necessary
#
def cancel
+
get_expression_pool.cancel(@current_child_fei) \
if @current_child_fei
+
super
end
#
# Returns false, the child class LoopExpression does return true.