rollup-plugin-bundle-worker icon indicating copy to clipboard operation
rollup-plugin-bundle-worker copied to clipboard

To close #2

Open cool-Blue opened this issue 7 years ago • 1 comments

closes #2

Proposed solution is to wrap the worker's terminate method and revoke the blob object URL there.

cool-Blue avatar Apr 12 '17 04:04 cool-Blue

Hey, thanks for the PR and apologies for not spotting it in the last few months. Would it be more appropriate to revoke the object URL after the worker has been initialised rather than doing it on terminate?

I'm thinking that many workers aren't terminated until the page unloads and, while the memory usage isn't a big deal I'd prefer to remain as efficient as possible.

andyearnshaw avatar Jun 19 '17 09:06 andyearnshaw