Clear cache button

Clear cache button
0.0 0


i have a problem with clear cache, when replace scene
i use TextureCache::getInstance()->removeUnusedTextures() for clear cache, i not use Director::getInstance()->purgeCachedData() because i need some image from plist, but i see some image off button on prev scene not remove texture and i have too many button like this, how can i clear cache of image this


solve, my button in my layer popup, and my popup not relase so my button not relese too, i have fix it