WPF ElementHost Memory Leak Solved

A recent predicament found me getting a memory leak on a Tabbed Control every time the visibility changed. The cause had to do with PropertyMap – the component that links winforms and WPF. It transpired that garbage colleciton was not working with a single item – BackgroundImage. Fix below:

 

 

About stigzler 33 Articles
Chief crook and wattle bosher.

Be the first to comment

Leave a Reply

Your email address will not be published.


*