manuels / texlive.js

Compiling LaTeX (TeX live) in your browser
http://manuels.github.com/texlive.js/
GNU General Public License v2.0
1.25k stars 139 forks source link

WebWorkers do not terminate #17

Open jvilk opened 10 years ago

jvilk commented 10 years ago

Thanks for doing this port; it's pretty fun to fool around with.

You don't seem to terminate your WebWorkers, though. They aren't automatically garbage collected; you need to either terminate each from the main thread, or the worker needs to call self.close() to halt execution.

https://developer.mozilla.org/en-US/docs/Web/Guide/Performance/Using_web_workers#Terminating_a_worker

jvilk commented 10 years ago

I also believe you launch a WebWorker on page load, which you never end up using.

manuels commented 10 years ago

thanks, indeed, I must add that! The initial webworker is used for preloading the script. But you are right: it should be terminate'd, too!

ghost commented 8 years ago

Was this ever fixed?

fzimmermann89 commented 8 years ago

not yet.