mirror of https://github.com/axmolengine/axmol.git
fixed ActionNode memoryleak.
This commit is contained in:
parent
877c6dddf3
commit
76f96d0b41
|
@ -64,6 +64,7 @@ ActionNode::~ActionNode()
|
|||
for (auto object : _frameArray)
|
||||
{
|
||||
object->clear();
|
||||
CC_SAFE_DELETE(object);
|
||||
}
|
||||
_frameArray.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue