Oberon00 / luabind

Luabind is a library that helps you create bindings between C++ and Lua.
http://oberon00.github.io/luabind/
Other
46 stars 13 forks source link

Allow to throw luabind::error from ~proxy_member_void_caller() #39

Closed vilarion closed 4 years ago

vilarion commented 4 years ago

Prevent some chances of std::terminate being called in ~proxy_member_void_caller()

This should complete the change made by 94fedc64.

Oberon00 commented 4 years ago

This seems like a good fix, but I'd love to see a unit test for it.

vilarion commented 4 years ago

Added a regression test and also threw in an additional test for the related change to ~proxy_member_caller() in 94fedc6, which seemed to be missing.