Fix the issue that circle result is null when looping #252

This commit is contained in:
Francis Dong
2021-07-20 14:34:38 +08:00
committed by dxfeng10
parent 801103fca5
commit e4464e4566

View File

@@ -284,7 +284,7 @@ public class Circle implements IComponent {
}
return f.apply(stepContext, stepCtxPos).flatMap(r -> {
ONode ctxNode2 = ComponentHelper.toONode(stepContext);
if (this.breakCircle(cItem.getIndex(), ctxNode, stepContext, stepCtxPos)) {
if (this.breakCircle(cItem.getIndex(), ctxNode2, stepContext, stepCtxPos)) {
return Mono.empty();
}
CircleItem nextItem2 = this.next(ctxNode2);