melia icon indicating copy to clipboard operation
melia copied to clipboard

SEHException on null luaL_checkstring

Open exectails opened this issue 3 years ago • 0 comments

If an undefined variable is passed from Lua to C#, and luaL_checkstring is used on it, a SEHException is thrown. Melua should get updated to catch that. It should either produce an error the user can understand or return null, which appears to be the normal, expected behavior for Lua.

exectails avatar Mar 25 '22 16:03 exectails