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

__gc metamethod not being called on lua_close() on windows builds #149

Closed
vinipsmaker opened this issue Mar 2, 2022 · 1 comment
Closed

Comments

@vinipsmaker
Copy link

Hi, I'm using openresty's fork of luajit on windows builds for this project: https://gitlab.com/emilua/emilua

And some tests are failing. Upon further investigation I've noticed the __gc metamethod is not being called to finalize my userdatas. The Linux behaviour is correct, but it fails on Windows.

Please let me know if there's any info I can provide to help.

@vinipsmaker
Copy link
Author

Nevermind. I just realized I had to compile the project with /EHa on Windows.

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

No branches or pull requests

1 participant