mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 16:53:04 +08:00
fix(ActionExecutor): correct phaser block logic in method execute
This commit is contained in:
@@ -85,11 +85,12 @@ public class ActionExecutor extends AgentRunningSubModule<ActionExecutorInput, V
|
||||
actionData.setExecutingStage(executingStage);
|
||||
|
||||
val metaActions = actionChain.get(executingStage);
|
||||
phaser.bulkRegister(metaActions.size());
|
||||
val phase = phaser.bulkRegister(metaActions.size());
|
||||
for (MetaAction metaAction : metaActions) {
|
||||
val executor = metaAction.isIo() ? virtualExecutor : platformExecutor;
|
||||
executor.execute(buildMataActionTask(metaAction, phaserRecord, userId));
|
||||
}
|
||||
phaser.awaitAdvance(phase);
|
||||
|
||||
// TODO 进行行动链修正
|
||||
val correctorInput = assemblyHelper.buildCorrectorInput();
|
||||
|
||||
Reference in New Issue
Block a user