pre-empty luajit exception handlers (turns out we really need it)

This commit is contained in:
ThePhD 2016-03-02 21:14:58 -05:00
parent d883ad072c
commit e06b939d73

View File

@ -32,6 +32,7 @@ public:
state(lua_CFunction panic = detail::atpanic) : unique_base(luaL_newstate(), lua_close),
state_view(unique_base::get()) {
set_panic(panic);
stack::luajit_exception_handler(unique_base::get());
}
using state_view::get;