Memory Leaking from BitmapSource

Sep 13, 2010 at 8:56 PM

found that if you add and remove the control,
it not cleaning the memory, there is two point of memory leaking,
one is very strong - from the _bitmapSource - as big as the control size the big the memory leak
the _bitmapSource is not clean - well, it is _bitmapSource=null when it disposed but still the memory is not cleaned,
second memory leak come from the InteropForm(); is not disposed as well...