-
Notifications
You must be signed in to change notification settings - Fork 23
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: kill all IE processes when terminating browser process #16
Conversation
I tested the updates, and still see one iexplorer.exe instance staying open in the background. When I end that last instance manually, my CI (Jenkins) finally confirms the results. Without manually killing, it just hangs & waits. This being said, there are no browsers visible during the issue, as they are closed from sight |
Does the
You can find this out by adding the |
In fact there are two fixes to fix this bug
Can you please try both fixes together and let me know. |
I'm seeing SCODEF:1300 CREDAT:78849 /prefetch:2. Forgot to mention I'm working with IE10 at the moment, but will have to apply the same to a IE11 instance. I will try both of those fixes & let you know. Thank you |
The confusion was on my end. Your changes are working to close the iexplor.exe, and therefor Jenkins is able to go on with it's work. +1 Thank you very much! |
Awesome! Thanks for the update. I should be able to merge this PR this week. |
// | ||
// This function kills any iexplore.exe process who's command line args match 'SCODEF:pid'. | ||
// On IE11 this will kill the extra process. On older versions, no process will be found. | ||
function killExtraIEProcess(pid, cb) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please try to define your functions before you use them :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dignifiedquire this project does not have code style check yet. I'm going to do this in #17. I'd merge this one as-is and fix the all the styles with #17 if you don't mind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
fix: kill all IE processes when terminating browser process
closes #15