]> gitweb.factorcode.org Git - factor.git/blobdiff - core/io/backend/backend.factor
core/basis/extra: using STARTUP-HOOK: and SHUTDOWN-HOOK:
[factor.git] / core / io / backend / backend.factor
index 07d866b56ac1079d26864cb6890700104ac0ad87..b910e273ddc2ae104b20280cd268aba1422940a6 100644 (file)
@@ -27,5 +27,4 @@ HOOK: normalize-path io-backend ( path -- path' )
     io-backend set-global init-io init-stdio
     "io.files" startup-hooks get at call( -- ) ;
 
-[ init-io embedded? [ init-stdio ] unless ]
-"io.backend" add-startup-hook
+STARTUP-HOOK: [ init-io embedded? [ init-stdio ] unless ]