COM: Improve Proxy Destruction Comment

Robert Shearman rob at codeweavers.com
Thu Oct 14 11:30:16 CDT 2004


Good ol' Essential COM.

Changelog:
Improve proxy destruction comment.
-------------- next part --------------
Index: wine/dlls/ole32/compobj.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compobj.c,v
retrieving revision 1.104
diff -u -p -r1.104 compobj.c
--- wine/dlls/ole32/compobj.c	7 Oct 2004 03:06:49 -0000	1.104
+++ wine/dlls/ole32/compobj.c	14 Oct 2004 16:29:02 -0000
@@ -515,8 +515,11 @@ void WINAPI CoUninitialize(void)
     RunningObjectTableImpl_UnInitialize();
 
     /* disconnect proxies to release the corresponding stubs.
-     * FIXME: native version might not do this and we might just be working
-     * around bugs elsewhere. */
+     * It is confirmed in "Essential COM" in the sub-chapter on
+     * "Lifecycle Management and Marshaling" that the native version also
+     * does some kind of proxy cleanup in this function.
+     * FIXME: does it just disconnect or completely destroy the proxies?
+     * FIXME: should this be in the apartment destructor? */
     MARSHAL_Disconnect_Proxies();
 
     /* Release the references to the registered class objects */


More information about the wine-patches mailing list