judero01col / GMap.NET

GMap.NET Windows Forms & Presentation is an excellent open source, powerful, free and cross-platform .NET control. Allows the use of routing, geocoding, directions and maps from Google, Yahoo!, Bing, OpenStreetMap, ArcGIS, Pergo, SigPac, Yendux, Mapy.cz, Maps.lt, iKarte.lv, NearMap, HereMap, CloudMade, WikiMapia, MapQuest and many more.
Other
466 stars 205 forks source link

WindowsPresentation.GMapControl: Unsubscribe OnCurrentPositionChanged to prevent Memory Leak #220

Open EikeB89 opened 5 days ago

EikeB89 commented 5 days ago

In Constructor of WindowsPresentation.GMapControl the OnCurrentPositionChanged event of _core is subscribed. But this subscription is never deleted, even when the control is disposed. This can lead to memory leaks and should be fixed.