mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 02:02:41 +08:00
@@ -761,7 +761,7 @@ proto.release = function (asset) {
|
||||
}
|
||||
}
|
||||
else if (asset instanceof cc.Texture2D) {
|
||||
cc.textureCache.removeTextureForKey(item.url);
|
||||
cc.textureCache.removeTextureForKey(item.rawUrl || item.url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user