Use raw pointer (#11804)

* Revert "use IntrusivePtr to share object (#11729)"

This reverts commit 8caec59711.

* Framebuffer uses weak reference

* make doDestroy reentency
This commit is contained in:
minggo
2022-07-04 10:20:07 +08:00
committed by GitHub
parent 98a53fc7a8
commit 02a1eb0f55
45 changed files with 119 additions and 90 deletions
@@ -40,6 +40,7 @@ QueryPoolValidator::QueryPoolValidator(QueryPool *actor)
QueryPoolValidator::~QueryPoolValidator() {
DeviceResourceTracker<QueryPool>::erase(this);
CC_SAFE_DELETE(_actor);
}
void QueryPoolValidator::doInit(const QueryPoolInfo &info) {