mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
set *body* to null on close of clog-repl window
This commit is contained in:
parent
ac770b7778
commit
e4e2a53d79
1 changed files with 4 additions and 1 deletions
|
|
@ -113,7 +113,10 @@ and debugger display for clog events."
|
|||
(when clog-gui-initialize
|
||||
(clog-gui:clog-gui-initialize body :use-clog-debugger
|
||||
use-clog-debugger))
|
||||
(setf clog-user::*body* body))
|
||||
(setf clog-user:*body* body)
|
||||
(run body)
|
||||
(when (eq clog-user:*body* body)
|
||||
(setf clog-user:*body* nil)))
|
||||
:path "/repl")
|
||||
(open-browser :url (format nil "http://127.0.0.1:~A/repl" *clog-port*))
|
||||
(format t "Use clog-user:*body* to access the clog-repl window."))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue