You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's an internal problem which doesn't really have anything to do with your code in the first post, but may have seemed to be caused by it because it's a problem with a finalizer, which runs whenever the GC decides to do a full collect.
The work-around works by allocating your own lua_State object. It will never be closed unless you insert a call to lua_close(L) somewhere, so when the LuaState is finalized, nothing is touched. Keep in mind that this form will not install a throwing panic handler for the Lua state, so you'd have to do that manually.
I'll leave this issue open until this is properly fixed, thanks for the bug report :)
Storing a LuaFunction inside of a delegate and then calling that delegate causes an exception.
(EntityWrapper "wraps" Entity so that it is usable in Lua)
This issues "An exception was thrown while finalizing an instance of class luad.state.LuaState".
Any ideas? Sadly, if this is not resolved then I will probably not be able to use LuaD.
The text was updated successfully, but these errors were encountered: