Skip to content

Commit

Permalink
Clear the nextJumpVar when transitioning jumpers to FoundIntersection
Browse files Browse the repository at this point in the history
  • Loading branch information
facundominguez committed Apr 30, 2024
1 parent 8743461 commit f426ac9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,8 @@ processJumpResult context jumpResult = whenEnabled context () $
if len <= 1 then do
-- If the fragment only contains the bad tip, we know the
-- intersection is the good point.
-- Clear any subsequent jumps requested by the dynamo.
writeTVar nextJumpVar Nothing
maybeElectNewObjector nextJumpVar goodPoint (AF.headPoint badFragment)
else do
let middlePoint = len `div` 2
Expand Down

0 comments on commit f426ac9

Please sign in to comment.