mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-12 07:24:55 -05:00
fix(executor): workflow abort has to send abort signal to route for correct state update (#2571)
This commit is contained in:
committed by
GitHub
parent
1145f5c043
commit
b1cd8d151d
@@ -229,7 +229,7 @@ export class LoopOrchestrator {
|
||||
}
|
||||
}
|
||||
|
||||
if (ctx.isCancelled) {
|
||||
if (ctx.abortSignal?.aborted) {
|
||||
logger.info('Loop execution cancelled', { loopId, iteration: scope.iteration })
|
||||
return this.createExitResult(ctx, loopId, scope)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user