Revoke URLs of loaded icons

Closes #13095
This commit is contained in:
Cédric Krier
2024-03-10 01:09:35 +01:00
parent 1846050401
commit 2bf7e4bd3d
+2 -2
View File
@@ -3090,8 +3090,8 @@
load_icons: function(refresh) {
refresh = refresh || false;
if (!refresh) {
for (var icon_name in this.load_icons) {
window.URL.revokeObjectURL(this.load_icons[icon_name]);
for (var icon_name in this.loaded_icons) {
window.URL.revokeObjectURL(this.loaded_icons[icon_name]);
}
}