Skip to content

Fix event handler leaks in FlightData, FlightPlanner, and adsb#3714

Open
ArthurPatriot wants to merge 1 commit into
ArduPilot:masterfrom
ArthurPatriot:fix/m-leaks
Open

Fix event handler leaks in FlightData, FlightPlanner, and adsb#3714
ArthurPatriot wants to merge 1 commit into
ArduPilot:masterfrom
ArthurPatriot:fix/m-leaks

Conversation

@ArthurPatriot
Copy link
Copy Markdown
Contributor

@ArthurPatriot ArthurPatriot commented Apr 27, 2026

Event handlers were either never unsubscribed on disposal or accumulated unboundedly on a static event, preventing garbage collection of the affected objects.

@ArthurPatriot ArthurPatriot marked this pull request as draft April 27, 2026 15:58
@ArthurPatriot ArthurPatriot force-pushed the fix/m-leaks branch 2 times, most recently from 2a6bcb0 to b99ae5a Compare April 27, 2026 19:19
@ArthurPatriot ArthurPatriot changed the title Fix memory leaks in UI views and background services Fix event handler leaks in FlightData, FlightPlanner, and adsb Apr 27, 2026
@ArthurPatriot ArthurPatriot marked this pull request as ready for review April 27, 2026 19:21
@ArthurPatriot
Copy link
Copy Markdown
Contributor Author

@meee1 when you have a time

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