Procházet zdrojové kódy

Do not allow execution to continue after a PANIC!

It really does not improve things...
Johny Mattsson před 9 roky
rodič
revize
0fbf442158
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      app/lua/lauxlib.c

+ 1 - 0
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;
 }