Skip to content

Commit

Permalink
fix: luaD_throw不应该返回,使用while(1)强制死机
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Dec 1, 2024
1 parent 229c889 commit 8990f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/src/ldo.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ l_noret luaD_throw (lua_State *L, int errcode) {
lua_unlock(L);
g->panic(L); /* call panic function (last chance to jump out) */
}
//abort();
while (1);
}
}
}
Expand Down

0 comments on commit 8990f15

Please sign in to comment.