Hi,
If I have a class A that implements IDisposable,
and I have a data member Class B,
I implement Dispose() and GC.SuppressFinalize(Me) in Class A
but don't call B.Dispose() explicitly in Class A not even in the Finalizer
Did I releases the memory for B or
do I need explicitly call B.Dispose() so memory is explicitly released for B ?
Does anybody have an idea if the memory for B is still allocated for the application even though the Class A no longer exists?
Is there a quick test I can run to confirm if there is a memory leak in the application due to Class B ?
Just as a side note, the application is written in
VB.
Any ideas or response you may have is greatly appreciated.
Thanks.
-V-