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

ensure no stack values with destructors are present in OOM scenarios #22

Open
q66 opened this issue Oct 25, 2020 · 0 comments
Open

ensure no stack values with destructors are present in OOM scenarios #22

q66 opened this issue Oct 25, 2020 · 0 comments

Comments

@q66
Copy link
Owner

q66 commented Oct 25, 2020

in the very rare case that lua OOMs and raises a panic case, we should ensure that no stack values (which could be managing heap pointers) with destructors are present, to avoid leaking memory or causing any state to go inconsistent

this specifically only affects places where lua APIs are called

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