fix potential memory leak in load.file()

This commit is contained in:
Lisa Milne 2023-12-08 17:32:23 +10:00
parent de1dd33882
commit b032d45b63

View file

@ -62,6 +62,7 @@ var clite = {
link.href = URL.createObjectURL(blob);
document.body.appendChild(link);
link.click();
URL.revokeObjectURL(link.href);
document.body.removeChild(link);
},
reboot:function() {