Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure all the workers are properly terminated when closing window #2

Open
EtienneLem opened this issue Jul 25, 2013 · 0 comments
Open
Assignees

Comments

@EtienneLem
Copy link
Owner

I’m not exactly sure that when a worker job is ongoing and you close the window that the worker is actually terminated. From what I could see (hear, actually (MacBook fans)) you may have to quit the browser. It may be a browser thing, but I’d prefer to be bulletproof.

Storing the working workers into an array and terminating them on window.onunload could be a good idea, just to be safe.

@ghost ghost assigned EtienneLem Jul 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant