About Android CCTextureCache std::list<VolatileTexture*> VolatileTexture::textures

I just want to konw when to clear std::list<VolatileTexture*> VolatileTexture::textures , CCTextureCache::removeUnusedTextures never clear VolatileTexture::textures.

CCTextureCache::removeUnusedTextures() just remove the texture that its reference is 1.
So you should make sure that no other object retain the texture before invoking CCTextureCache::removeUnusedTextures().

Minggo Zhang wrote:

CCTextureCache::removeUnusedTextures() just remove the texture that its reference is 1.
So you should make sure that no other object retain the texture before invoking CCTextureCache::removeUnusedTextures().

Thanks for your reply,but I want to know about VolatileTexture::textures , I can invoke CCTextureCache::removeUnusedTextures() , but How can I invoke VolatileTexture::removeUnusedTextures()(exactly , this method not exist)?