mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-07 03:52:41 +08:00
@@ -33,7 +33,7 @@ HandleObject::HandleObject(Object *obj)
|
||||
: _obj(obj) {
|
||||
if (_obj != nullptr) {
|
||||
// se::HandleObject could not be used for native binding object.
|
||||
assert(!_obj->_getClass());
|
||||
CC_ASSERT(!_obj->_getClass());
|
||||
_obj->root();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user