mirror of https://github.com/axmolengine/axmol.git
Merge pull request #15539 from minggo/issue-15329
use Ref::release() to release Ref instance
This commit is contained in:
commit
e11a7fdfe5
|
@ -150,9 +150,9 @@ ConnectWaitLayer::ConnectWaitLayer()
|
||||||
|
|
||||||
ConnectWaitLayer::~ConnectWaitLayer()
|
ConnectWaitLayer::~ConnectWaitLayer()
|
||||||
{
|
{
|
||||||
CC_SAFE_DELETE(_imagebg);
|
CC_SAFE_RELEASE(_imagebg);
|
||||||
CC_SAFE_DELETE(_imageplay);
|
CC_SAFE_RELEASE(_imageplay);
|
||||||
CC_SAFE_DELETE(_imageShine);
|
CC_SAFE_RELEASE(_imageShine);
|
||||||
}
|
}
|
||||||
|
|
||||||
// clean up: ignore stdin, stdout and stderr
|
// clean up: ignore stdin, stdout and stderr
|
||||||
|
|
Loading…
Reference in New Issue