Commit 0fbf4421 authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Do not allow execution to continue after a PANIC!

It really does not improve things...
parent 33e41a63
......@@ -816,6 +816,7 @@ static int panic (lua_State *L) {
luai_writestringerror("PANIC: unprotected error in call to Lua API (%s)\n",
lua_tostring(L, -1));
#endif
while (1) {}
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment