mirror of https://github.com/axmolengine/axmol.git
Merge pull request #4897 from chengstory/#3585
fixed actionNode Memory Leak.
This commit is contained in:
commit
68f76678f9
|
@ -64,6 +64,7 @@ ActionNode::~ActionNode()
|
|||
for (auto object : _frameArray)
|
||||
{
|
||||
object->clear();
|
||||
CC_SAFE_DELETE(object);
|
||||
}
|
||||
_frameArray.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue