mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 02:52:39 +08:00
Refactor ScriptingCore::removeObjectProxy
This commit is contained in:
@@ -1916,7 +1916,7 @@ void ScriptingCore::unrootObject(Ref* ref)
|
||||
else CCLOG("unrootObject: BUG. native not found: %p (%s)", ref, typeid(*ref).name());
|
||||
}
|
||||
|
||||
void ScriptingCore::removeObjectProxy(Ref* obj)
|
||||
void ScriptingCore::removeObjectProxy(void* obj)
|
||||
{
|
||||
auto proxy = jsb_get_native_proxy(obj);
|
||||
if (proxy)
|
||||
|
||||
Reference in New Issue
Block a user