use IntrusivePtr to share object (#11729)

This commit is contained in:
minggo
2022-06-28 18:01:47 +08:00
committed by GitHub
parent d008270ef3
commit 8caec59711
40 changed files with 83 additions and 116 deletions
@@ -44,7 +44,7 @@ QueueAgent::~QueueAgent() {
QueueDestruct,
actor, _actor,
{
CC_SAFE_DELETE(actor);
actor = nullptr;
});
}