lib/ruote/exp/fe_participant.rb in ruote-2.1.3 vs lib/ruote/exp/fe_participant.rb in ruote-2.1.4
- old
+ new
@@ -160,12 +160,15 @@
'for_engine_worker?' => participant_info.class != Array)
end
def cancel (flavour)
+ # TODO : if flavour is 'kill', why not not trigger participant.cancel ?
+
participant = @context.plist.lookup(h.participant_name)
participant.cancel(fei, flavour)
- # should this be threaded ?
+ # TODO should this be threaded ?
+ # TODO should errors be intercepted here ?
reply_to_parent(h.applied_workitem)
end
def reply_to_parent (workitem)