Does Marshal.ReleaseComObject call the garbage collector ?

Posted by Shimrod on Stack Overflow See other posts from Stack Overflow or by Shimrod
Published on 2010-03-25T09:17:48Z Indexed on 2010/03/25 9:33 UTC
Read the original article Hit count: 423

Filed under:
|
|

Hi,

I was asked this question today by a colleague, and couldn't find any clue on the Internet... Can someone tell me if calling Marshall.ReleaseComObject()directly calls the garbage collector ? As I understand it, it only removes COM references, and then the G.C. cleans memory on its next pass, but I can be mistaken...

Thanks in advance for your help!

© Stack Overflow or respective owner

Related posts about com

Related posts about .NET