mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
use IntrusivePtr to share object (#11729)
This commit is contained in:
@@ -171,7 +171,7 @@ void Engine::destroy() {
|
||||
|
||||
delete _builtinResMgr;
|
||||
delete _programLib;
|
||||
CC_SAFE_DESTROY_AND_DELETE(_gfxDevice);
|
||||
CC_SAFE_DELETE(_gfxDevice);
|
||||
delete _fs;
|
||||
_scheduler.reset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user