Add missing autorelease call

This commit is contained in:
halx99 2022-06-30 18:18:24 +08:00
parent 7837395ea5
commit 3d1690cc25
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ Layer* Layer::create()
{
auto ret = new Layer();
ret->initLayer();
ret->autorelease();
return ret;
}