Is it a Memory leak or a Resource leak.
It would seem that if you take a c++ managed extensions gc class containing a native pointer to dot net 2.0. The classes finalization does not happen correctly. Ie the destructor is no longer invoked.
further more if you migrate said c++ code to c++/cli then your destructor will not get called when the managed object is disposed of via garbage collection. You will need to either explicitly call the destructor or add a finalize to your reference class.
Not the most obvious memory leak in the world to say the least.
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u
The opinions expressed herein are my own personal opinions and do not represent
my employer's view in anyway.
Page rendered at
Thursday, 21 June 2018 08:19:20 (Pacific Standard Time, UTC-08:00)
Inspired by Free CSS Templates.