From 0fbf442158d6063b86bd5240b27724d5c90559d9 Mon Sep 17 00:00:00 2001 From: Johny Mattsson Date: Tue, 14 Jul 2015 11:37:12 +1000 Subject: [PATCH] Do not allow execution to continue after a PANIC! It really does not improve things... --- app/lua/lauxlib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lua/lauxlib.c b/app/lua/lauxlib.c index 35ff8266..1ce21f38 100644 --- a/app/lua/lauxlib.c +++ b/app/lua/lauxlib.c @@ -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; }