mirror of https://github.com/axmolengine/axmol.git
issue #114, CCTMXTiledMap debug
This commit is contained in:
parent
c549d497a6
commit
178b48ddfc
|
@ -96,7 +96,6 @@ namespace cocos2d{
|
||||||
}
|
}
|
||||||
CCTMXTiledMap::~CCTMXTiledMap()
|
CCTMXTiledMap::~CCTMXTiledMap()
|
||||||
{
|
{
|
||||||
m_pObjectGroups->removeAllObjects();
|
|
||||||
m_pObjectGroups->release();
|
m_pObjectGroups->release();
|
||||||
if (m_pProperties)
|
if (m_pProperties)
|
||||||
{
|
{
|
||||||
|
|
|
@ -131,11 +131,8 @@ namespace cocos2d {
|
||||||
CCTMXMapInfo::~CCTMXMapInfo()
|
CCTMXMapInfo::~CCTMXMapInfo()
|
||||||
{
|
{
|
||||||
CCLOGINFO("cocos2d: deallocing.");
|
CCLOGINFO("cocos2d: deallocing.");
|
||||||
m_pTilesets->removeAllObjects();
|
|
||||||
m_pTilesets->release();
|
m_pTilesets->release();
|
||||||
m_pLayers->removeAllObjects();
|
|
||||||
m_pLayers->release();
|
m_pLayers->release();
|
||||||
m_pObjectGroups->removeAllObjects();
|
|
||||||
m_pObjectGroups->release();
|
m_pObjectGroups->release();
|
||||||
if (m_pProperties)
|
if (m_pProperties)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue