Always call the finalize function when returning from the main loop
This commit is contained in:
parent
d5d0aefbbd
commit
b8579526c0
1 changed files with 3 additions and 2 deletions
|
|
@ -32,5 +32,6 @@ continue unless `unprotected' is t."
|
||||||
(defun main (&optional argv)
|
(defun main (&optional argv)
|
||||||
"Run the program."
|
"Run the program."
|
||||||
(modules:initialize argv)
|
(modules:initialize argv)
|
||||||
(main-loop)
|
(unwind-protect
|
||||||
(modules:finalize))
|
(main-loop)
|
||||||
|
(modules:finalize)))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue