尝试修复库引用

This commit is contained in:
2026-03-19 17:30:38 +08:00
parent a90a7d5cf2
commit 20611b720f
5 changed files with 23 additions and 39 deletions

View File

@ -72,6 +72,7 @@ lua_State *Lua_runner::get_lua_State()
int Lua_runner::load_lib(const char *path,const char *name)
{
//如果引入哈希表会导致删除包时的多次哈希查询,污染缓存。同时性能仅与数组实现相当
if(!this->check_luastatue())
{
return -1;