make sure to reenable interrupts if you have to exit setup in a hurry (#158).

This commit is contained in:
Vítor Manuel de Morais Santos Costa 2009-12-03 17:46:21 +00:00
parent bc4b718afb
commit 71e4d73a75

View File

@ -76,6 +76,7 @@ setup_call_catcher_cleanup(Setup, Goal, Catcher, Cleanup) :-
(
var(MG)
->
yap_hacks:enable_interrupts,
'$do_error'(instantiation_error,G)
;
true