You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When load image by cc.loader.load(), registered loaders (_cc.imgLoader and _cc.serverImgLoader) automatically create texture for image by complete loading and add it into cc.textureCache.
In my opinion this is not clearly, because cc.loader.release() didn't clear texture from cache and reference for image still store into texture cache and gc can't unload image from memory. We should be additionaly clear image from texture cache.
Should be cc.loader.release() clear image from cc.textureCache?
The text was updated successfully, but these errors were encountered:
When load image by cc.loader.load(), registered loaders (_cc.imgLoader and _cc.serverImgLoader) automatically create texture for image by complete loading and add it into cc.textureCache.
In my opinion this is not clearly, because cc.loader.release() didn't clear texture from cache and reference for image still store into texture cache and gc can't unload image from memory. We should be additionaly clear image from texture cache.
Should be cc.loader.release() clear image from cc.textureCache?
The text was updated successfully, but these errors were encountered: