Consider revokeObjectURL?
lmannering opened this issue · 1 comments
lmannering commented
I considered submitting a PR for this, but would be interested to understand why the author has chosen not to implement revokeObjectURL to improve memory usage (after removing the tempLink):
windowUrl.revokeObjectURL(blobURL);
As per:
https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
kennethjiang commented
Sorry for the delay!
I wasn't aware of revokeObjectURL
. Sounds like something I should have done to avoid potential memory leak. Please go ahead to send a PR.