mirror of https://github.com/axmolengine/axmol.git
men leak fixed (life-cycle management was hand downed to scene-graph)
This commit is contained in:
parent
95c6c66d58
commit
3a4c9f9fb0
samples/Cpp/AssetsManagerTest/Classes
|
@ -146,6 +146,7 @@ bool UpdateLayer::init()
|
|||
pAssetsManager->setDelegate(this);
|
||||
pAssetsManager->setConnectionTimeout(3);
|
||||
addChild(pAssetsManager);
|
||||
pAssetsManager->release();
|
||||
|
||||
createDownloadedDir();
|
||||
|
||||
|
|
Loading…
Reference in New Issue