mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Add :system option clog-builder
This commit is contained in:
parent
667f8c6f8c
commit
f4658dbc3f
2 changed files with 12 additions and 3 deletions
|
|
@ -129,15 +129,23 @@ BOOT-FILE will be used. If BOOT-FILE is nil path is removed."
|
|||
(setf (gethash path *url-to-on-new-window*) on-new-window-handler)
|
||||
(remhash path *url-to-on-new-window*)))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
;; is-running-p ;;
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defun is-running-p ()
|
||||
*clog-running*)
|
||||
|
||||
;;;;;;;;;;;;;;
|
||||
;; shutdown ;;
|
||||
;;;;;;;;;;;;;;
|
||||
|
||||
(defun shutdown ()
|
||||
"Shutdown CLOG."
|
||||
(clrhash *url-to-on-new-window*)
|
||||
(setf *clog-running* nil)
|
||||
(clog-connection:shutdown-clog))
|
||||
(when *clog-running*
|
||||
(clrhash *url-to-on-new-window*)
|
||||
(setf *clog-running* nil)
|
||||
(clog-connection:shutdown-clog)))
|
||||
|
||||
;;;;;;;;;;;;;;;;
|
||||
;; debug-mode ;;
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ embedded in a native template application.)"
|
|||
"CLOG Startup and Shutdown"
|
||||
(initialize function)
|
||||
(set-on-new-window function)
|
||||
(is-running-p function)
|
||||
(shutdown function)
|
||||
(debug-mode function)
|
||||
(open-browser function))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue