修复multiSwitch的异步模式中的问题

This commit is contained in:
everywhere.z
2025-09-28 22:15:28 +08:00
parent 8c6bb15260
commit db1b424b57

View File

@@ -185,6 +185,7 @@ public class SwitchCondition extends AbstractParallelCondition {
WhenCondition whenCondition = new WhenCondition();
matchedExecutors.forEach(whenCondition::addExecutable);
whenCondition.setThreadExecutorClass(this.getThreadPoolExecutorClass());
whenCondition.setCurrChainId(this.getCurrChainId());
whenCondition.executeCondition(slotIndex);
} else {
for (Executable targetExecutor : matchedExecutors) {