]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/registry/registry.factor
continuations[-docs]: add the finally word
[factor.git] / basis / windows / registry / registry.factor
index 03d2228abfe60616218fe1d6a771630fbed63c85..be9109827605f58e38fb9b0bb72f8b367a152131 100644 (file)
@@ -55,13 +55,13 @@ CONSTANT: registry-value-max-length 16384
     key subkey mode open-key :> hkey
     [ hkey quot call ]
     [ hkey close-key ]
-    [ ] cleanup ; inline
+    finally ; inline
 
 :: with-create-registry-key ( key subkey quot -- )
     key subkey create-key :> hkey
     [ hkey quot call ]
     [ hkey close-key ]
-    [ ] cleanup ; inline
+    finally ; inline
 
 <PRIVATE