mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 11:02:40 +08:00
use IntrusivePtr to share object (#11729)
This commit is contained in:
@@ -45,7 +45,7 @@ TextureAgent::~TextureAgent() {
|
||||
TextureDestruct,
|
||||
actor, _actor,
|
||||
{
|
||||
CC_SAFE_DELETE(actor);
|
||||
actor = nullptr;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user