mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
Cleanup
This commit is contained in:
@@ -262,8 +262,6 @@ export class EdgeConstructor {
|
||||
continue
|
||||
}
|
||||
|
||||
// Only add LOOP_EXIT edge if target is outside the loop
|
||||
// (target would be inside if it's in blocksInLoops for the same loop)
|
||||
if (loopSentinelStartId && !blocksInLoops.has(originalTarget)) {
|
||||
this.addEdge(dag, loopSentinelStartId, target, EDGE.LOOP_EXIT, targetHandle)
|
||||
}
|
||||
|
||||
@@ -77,9 +77,6 @@ export class EdgeManager {
|
||||
}
|
||||
}
|
||||
|
||||
// Check if any deactivation targets that previously received an activated edge are now ready
|
||||
// Skip this check when exiting a loop/parallel, as deactivated targets are loop body nodes
|
||||
// that should not execute
|
||||
if (output.selectedRoute !== EDGE.LOOP_EXIT && output.selectedRoute !== EDGE.PARALLEL_EXIT) {
|
||||
for (const { target } of edgesToDeactivate) {
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user