Handbook
Glossary
add-shutdown-hook ( quot name -- )
Factor handbook
»
The implementation
»
Initialization and startup
Prev:
add-startup-hook ( quot name -- )
Next:
startup-quot ( -- quot )
Vocabulary
init
Inputs
quot
an
object
name
an
object
Outputs
None
See also
startup-hooks
,
do-startup-hooks
,
add-startup-hook
,
do-shutdown-hooks
,
shutdown-hooks
Definition
USING:
assocs
namespaces
;
IN:
init
:
add-shutdown-hook
( quot name -- )
shutdown-hooks
get
set-at
;