Skip to content

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

Open
EikeB89 wants to merge 2 commits intojudero01col:masterfrom
EikeB89:patch-1
Open

WindowsPresentation.GMapControl: Unsubscribe OnCurrentPositionChanged to prevent Memory Leak#220
EikeB89 wants to merge 2 commits intojudero01col:masterfrom
EikeB89:patch-1

Conversation

@EikeB89
Copy link

@EikeB89 EikeB89 commented Nov 13, 2024

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.

In Constructor 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant