Closed oeway closed 3 years ago
Would be nice to support removing files mounted to /str, to lower the memory footprint. I made a function for that for ImageJ.JS:
function cheerpjRemoveStringFile(name) { var mount = cheerpjGetFSMountForPath(name); assert(mount instanceof CheerpJDataFolder); delete mount.files[name.substr(mount.mountPoint.length - 1)] delete cjFileCache[name]; }
Maybe something like this should be integrated to or provided from the official loader?
cheerpjRemoveStringFile is implemented in endpoint https://cjrtnc.leaningtech.com/20201217/loader.js
Would be nice to support removing files mounted to /str, to lower the memory footprint. I made a function for that for ImageJ.JS:
Maybe something like this should be integrated to or provided from the official loader?