mirror of
https://gitcode.com/JianFeeeee/LuaCangjia_api.git
synced 2026-09-20 00:48:47 +00:00
尝试修复库引用
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user