heic2any
heic2any copied to clipboard
Worker leaks 70 Mb of RAM
The heic2any library uses a web worker to convert HEIC files. After converting a file, the worker remain in memory until page refresh. It leaks about 70Mb on my machine.
Proposed fix: https://github.com/chebum/heic2any/commit/39327e2e86886e62f51cb676c8e206876a5732d8
It terminates web worker after 10 seconds of inactivity.
Fixed heic2any.js is available here: https://github.com/chebum/heic2any/tree/master/dist
The fix also includes pull request #27