Do not allow execution to continue after a PANIC!

It really does not improve things...
This commit is contained in:
Johny Mattsson 2015-07-14 11:37:12 +10:00
parent 33e41a633e
commit 0fbf442158
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}