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

setNoticeXX functions not releasing previous locked function #52

Open
surfskidude opened this issue Apr 25, 2018 · 0 comments
Open

setNoticeXX functions not releasing previous locked function #52

surfskidude opened this issue Apr 25, 2018 · 0 comments

Comments

@surfskidude
Copy link

The documentation states that the new setNoticeXX functions return the previous notice receiver or processor, but the C code (bindings) returns nothing (0). Also, you do not release the previous lock set with luaL_ref if the functions are called again. There are no luaL_unref calls in the code.

I am using your bindings in an environment where the setNoticeXX functions do not work and deadlocks the solution. I would appreciate it if you can add code for optionally removing these two functions by using ifdefs.

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