}
if (impl instanceof SubFlowImplementation) {
Collection subs = performersLocal();
for (Iterator i = subs.iterator (); i.hasNext();) {
WfProcessLocal p = (WfProcessLocal)i.next();
if (p.workflowState() == State.CLOSED) {
continue;
}
p.terminate ();
}
}