Skip to content

fix(Lua): memory leak when re-loading Lua scripts. #6372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

philmoz
Copy link
Collaborator

@philmoz philmoz commented Jun 19, 2025

After exiting a stand alone script on B&W radios, Lua memory is not completely released.
Can also happen on all radios when switching models.

Bug in PR #6337.

Fixes #6370

@philmoz philmoz added this to the 2.11.2 milestone Jun 19, 2025
@philmoz philmoz added color Related generally to color LCD radios B&W Related generally to black and white LCD radios lua bug/regression ↩️ A new version of EdgeTX broke something labels Jun 19, 2025
@wimalopaan
Copy link
Contributor

Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B&W Related generally to black and white LCD radios bug/regression ↩️ A new version of EdgeTX broke something color Related generally to color LCD radios lua
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LUA stand-alone scripts eat memory on B&W (maybe also color)
2 participants