Skip to content
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

fix: lua close #2

Merged
merged 1 commit into from
Oct 24, 2024
Merged

fix: lua close #2

merged 1 commit into from
Oct 24, 2024

Conversation

stevenh
Copy link
Contributor

@stevenh stevenh commented Sep 7, 2024

Remove the deferred call to lua.LState.Close which was invalidating the lua state before return.

In earlier versions of lua this wasn't an issue but in more recent versions this causes a panic as it tries to use the nil stack field.

Update to the latest versions of all dependencies, which is particularly important for lua which was 5 years old, missing many important bug fixes.

Remove the deferred call to lua.LState.Close which was invalidating the
lua state before return.

In earlier versions of lua this wasn't an issue but in more recent versions
this causes a panic as it tries to use the nil stack field.

Update to the latest versions of all dependencies, which is particularly
important for lua which was 5 years old, missing many important bug
fixes.
@kpacha kpacha merged commit eeb2454 into krakend:master Oct 24, 2024
@stevenh stevenh deleted the fix/lua-close branch October 28, 2024 12:39
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.

2 participants