This commit is contained in:
Keith Donald
2008-11-05 11:59:07 +00:00
parent cee30f62ee
commit d8af9185d4

View File

@@ -104,9 +104,10 @@ public class FlowDefinitionRegistryImpl implements FlowDefinitionRegistry {
}
public void destroy() {
Iterator it = flowDefinitions.keySet().iterator();
Iterator it = flowDefinitions.values().iterator();
while (it.hasNext()) {
getFlowDefinitionHolder((String) it.next()).destroy();
FlowDefinitionHolder holder = (FlowDefinitionHolder) it.next();
holder.destroy();
}
}