Always call the finalize function when returning from the main loop

This commit is contained in:
Renaud Casenave-Péré 2014-09-30 14:33:32 +09:00
parent d5d0aefbbd
commit b8579526c0

View file

@ -32,5 +32,6 @@ continue unless `unprotected' is t."
(defun main (&optional argv)
"Run the program."
(modules:initialize argv)
(main-loop)
(modules:finalize))
(unwind-protect
(main-loop)
(modules:finalize)))