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(luajit): ensure that ffi loaded libs will not get GC'ed #711

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

Tieske
Copy link
Member

@Tieske Tieske commented Mar 17, 2023

This caused an issue when busted would clear _G and the lib was unloaded whilst userdata's were still floating around with references to the now unloaded lib. This caused segfaults.

This caused an issue when busted would clear `_G` and the lib was
unloaded whilst userdata's were still floating around with references to
the now unloaded lib. This caused segfaults.
@Tieske
Copy link
Member Author

Tieske commented Mar 17, 2023

I'll merge this shortly, waiting for some extra confirmation it solved the issue

@Tieske
Copy link
Member Author

Tieske commented Mar 20, 2023

confirmed!

@Tieske Tieske merged commit 83ce6c2 into master Mar 20, 2023
@Tieske Tieske deleted the luajit/load branch March 20, 2023 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants