]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/com/com.factor
continuations[-docs]: add the finally word
[factor.git] / basis / windows / com / com.factor
index 4334eda29df7b9294d38a575fd39934c63c58a7d..a4b759adf856f5715e53a4e1c026327aa266c579 100644 (file)
@@ -111,6 +111,6 @@ ERROR: null-com-release ;
     [ IUnknown::Release drop ] [ null-com-release ] if* ; inline
 
 : with-com-interface ( interface quot -- )
-    over [ com-release ] curry [ ] cleanup ; inline
+    over [ com-release ] curry finally ; inline
 
 DESTRUCTOR: com-release