Skip to content

Commit

Permalink
call '$erase_ball' before running cleanup code in setup_call_cleanup (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mthom committed Mar 24, 2021
1 parent 37f2336 commit 10e92ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/iso_ext.pl
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
scc_helper(_, _, Bb) :-
'$reset_block'(Bb),
'$get_ball'(Ball),
'$call_with_default_policy'(run_cleaners_with_handling),
'$erase_ball',
'$call_with_default_policy'(run_cleaners_with_handling),
'$call_with_default_policy'(throw(Ball)).
scc_helper(_, _, _) :-
'$get_cp'(Cp),
Expand Down

0 comments on commit 10e92ee

Please sign in to comment.