retan ActionNode _actionSpawn while create

This commit is contained in:
Liam 2013-09-22 22:49:25 +08:00
parent 6480b2c95d
commit 0840baa1ab
1 changed files with 1 additions and 0 deletions

View File

@ -313,6 +313,7 @@ Spawn * ActionNode::refreshActionProperty()
} }
_actionSpawn = Spawn::create(cSpawnArray); _actionSpawn = Spawn::create(cSpawnArray);
_actionSpawn->retain();
return _actionSpawn; return _actionSpawn;
} }