fix(ActionExecutor): correct phaser block logic in method execute

This commit is contained in:
2026-01-28 15:38:13 +08:00
parent 5ffdab9e4a
commit cd641ac8dd

View File

@@ -85,11 +85,12 @@ public class ActionExecutor extends AgentRunningSubModule<ActionExecutorInput, V
actionData.setExecutingStage(executingStage); actionData.setExecutingStage(executingStage);
val metaActions = actionChain.get(executingStage); val metaActions = actionChain.get(executingStage);
phaser.bulkRegister(metaActions.size()); val phase = phaser.bulkRegister(metaActions.size());
for (MetaAction metaAction : metaActions) { for (MetaAction metaAction : metaActions) {
val executor = metaAction.isIo() ? virtualExecutor : platformExecutor; val executor = metaAction.isIo() ? virtualExecutor : platformExecutor;
executor.execute(buildMataActionTask(metaAction, phaserRecord, userId)); executor.execute(buildMataActionTask(metaAction, phaserRecord, userId));
} }
phaser.awaitAdvance(phase);
// TODO 进行行动链修正 // TODO 进行行动链修正
val correctorInput = assemblyHelper.buildCorrectorInput(); val correctorInput = assemblyHelper.buildCorrectorInput();