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

fix: chrome not exiting cleanly #2

Merged
merged 1 commit into from
Aug 27, 2015

Conversation

joeybaker
Copy link
Contributor

Chrome sometimes doesn’t exit cleanly: https://code.google.com/p/chromium/issues/detail?id=338000
This takes a brute-force approach to making sure that we really do exit when required.

Fixes hughsk/smokestack#44

There's one test failing right now. chrome-launch: process.exit. I'm not totally sure if that's just an invalid test now, or a problem that needs to be addressed.

Chrome sometimes doesn’t exit cleanly: https://code.google.com/p/chromium/issues/detail?id=338000
This takes a brute-force approach to making sure that we really do exit
when required.

Fixes hughsk/smokestack#44
hughsk added a commit that referenced this pull request Aug 27, 2015
@hughsk hughsk merged commit 06960b7 into hughsk:master Aug 27, 2015
@hughsk
Copy link
Owner

hughsk commented Aug 27, 2015

❤️ so sorry this took so long for me to merge. Thanks very much!

@dereke
Copy link

dereke commented Sep 5, 2015

hi, this isn't a good fix as it pretty much renders chrome-launch unusable as a library.

I have some code which launches chrome, does some stuff then closes it. My code continues execution and then launches chrome again. Sometime around here this fix kicks in and calls process.exit() at this point my code immediately exits.

I've not looked into the details of how to fix this properly - but process.exit() is not OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants