protect should be called before user goals.

This commit is contained in:
Vítor Santos Costa 2016-02-13 20:16:25 +00:00
parent 9860b6244f
commit afa085de28

View File

@ -287,9 +287,6 @@ qend_program :-
'$init_from_saved_state_and_args' :-
'$init_path_extensions',
fail.
'$init_from_saved_state_and_args' :-
'$protect',
fail.
% use if we come from a save_program and we have SWI's shlib
'$init_from_saved_state_and_args' :-
current_prolog_flag(hwnd, _HWND),
@ -385,9 +382,6 @@ qend_program :-
call(db_open(mysql,myddas,Host/Db,User,Pass)),
'$myddas_import_all',
fail.
'$startup_goals' :-
'$protect',
fail.
'$startup_goals'.
%