I am trying to use this control in a WPF application. I have the map in a popup window which can be opened and closed adn each time it is opened a new instance of the window is created. What I have seen is that the Window never gets garbage collected.
I did a small test project where the main form has a button which only opens and closes a window with a GMapControl on and explicitly did a GC.Collect() behind another button and from and with my limited knowledge of WinDbg/SOS I could see that
the window and the GMapControl objects were still left around after closing the window. I tried to figure out what was keeping the objects alive but I am not skilled enuf with WinDbg/SOS to figure it out.
Any idea what the problem is?