[Mono-dev] COM Interop cleanup needed in mini_cleanup.

Bill Holmes billholmes54 at gmail.com
Thu Nov 20 16:07:43 EST 2008


Hi,

We are seeing a problem with applications that host the mono and use
COM.  The attached patch includes code that will cause the runtime to
release all COM objects that are registered in the rcw hash map in
marshal.c.

-bill

2008-11-20  Bill Holmes  <billholmes54 at gmail.com>

        * mini.c (mini_cleanup) : Adding a call to cominterop_release_all_rcws
          to release all runtime callable wrappers held by the runtime.

        * marshal.c : Adding cominterop_release_all_rcws to release all
          runtime callable wrappers held by the runtime.

        * marshal.h : Adding deceleration  for cominterop_release_all_rcws.

        Contributed under MIT/X11 license.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cominterop_release_all_rcws.diff
Type: application/octet-stream
Size: 4370 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081120/b3aac62b/attachment.obj 


More information about the Mono-devel-list mailing list