added js api clogframe_quit()

This commit is contained in:
David Botton 2022-09-02 16:58:48 -04:00
parent 9d82642b3c
commit 909e444b5f
2 changed files with 7 additions and 0 deletions

View file

@ -180,6 +180,7 @@
;; When *app-mode* set only run the game once and then shutdown the app
(when *app-mode*
(sleep 2) ;; let end music play
(js-execute body "clogframe_quit()") ;; does nothing if not in clogframe
(clog:shutdown)
(uiop:quit)))