1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 19:19:53 +00:00

Address #711 - don't persist (dyn :exit)

This commit is contained in:
Calvin Rose 2021-06-24 14:51:08 -05:00
parent d687db71e7
commit 04ca945ecf

View File

@ -2335,6 +2335,7 @@
(when (= (p-status p) :error) (when (= (p-status p) :error)
(parse-err p where))) (parse-err p where)))
(put env :exit nil)
(in env :exit-value env)) (in env :exit-value env))
(defn quit (defn quit