mirror of https://github.com/axmolengine/axmol.git
Add missing autorelease call
This commit is contained in:
parent
7837395ea5
commit
3d1690cc25
|
@ -56,6 +56,7 @@ Layer* Layer::create()
|
|||
{
|
||||
auto ret = new Layer();
|
||||
ret->initLayer();
|
||||
ret->autorelease();
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue