Returning from boot quotation wouldn't exit Factor if run loop MX was in use

db4
Slava Pestov 2008-12-13 04:10:39 -06:00
parent 7bf857650c
commit 93b7215f1b
3 changed files with 3 additions and 0 deletions

View File

@ -12,5 +12,6 @@ namespaces eval kernel vocabs.loader io ;
ignore-cli-args? not script get and
[ run-script ] [ "run" get run ] if*
output-stream get [ stream-flush ] when*
0 exit
] [ print-error 1 exit ] recover
] set-boot-quot

View File

@ -7,4 +7,5 @@ io ;
(command-line) parse-command-line
"run" get run
output-stream get [ stream-flush ] when*
0 exit
] set-boot-quot

View File

@ -365,6 +365,7 @@ SYMBOL: deploy-vocab
init-hooks get values concat %
,
strip-io? [ \ flush , ] unless
[ 0 exit ] %
] [ ] make
set-boot-quot ;