clean cb ref object in multi object
This commit is contained in:
parent
d7cfd66017
commit
f2a0b970fa
@ -50,7 +50,9 @@ static int lcurl_multi_cleanup(lua_State *L){
|
||||
luaL_unref(L, LCURL_LUA_REGISTRY, p->h_ref);
|
||||
p->h_ref = LUA_NOREF;
|
||||
}
|
||||
|
||||
luaL_unref(L, LCURL_LUA_REGISTRY, p->tm.cb_ref);
|
||||
luaL_unref(L, LCURL_LUA_REGISTRY, p->tm.ud_ref);
|
||||
p->tm.cb_ref = p->tm.ud_ref = LUA_NOREF;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user