chromedriver 2.14 requires sigint to exit, sigterm doesn't kill it

This commit is contained in:
Jonathan Lipps
2015-02-02 11:11:32 -08:00
parent a7010e6e46
commit 4d22ea297b
+2 -2
View File
@@ -238,9 +238,9 @@ Chromedriver.prototype.deleteSession = function (cb) {
};
Chromedriver.prototype.stop = function (cb) {
logger.debug('Killing chromedriver');
logger.debug('Killing chromedriver and waiting for close');
this.exitCb = cb;
this.proc.kill();
this.proc.kill('SIGINT');
};
Chromedriver.prototype.proxyTo = proxyTo;