Commit 0386ae65 authored by Terry Ellison's avatar Terry Ellison
Browse files

Merge pull request #804 from DiUS/panic

Do not allow execution to continue after a PANIC
parents 68eadaaf 0fbf4421
......@@ -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