Browse Source

Protects from killing a closed process

Yury Delendik 11 years ago
parent
commit
89a676a49c
  1. 2
      test/webbrowser.js

2
test/webbrowser.js

@ -99,8 +99,10 @@ WebBrowser.prototype = { @@ -99,8 +99,10 @@ WebBrowser.prototype = {
this.callback = callback;
}
if (this.process) {
this.process.kill('SIGTERM');
}
}
};
var firefoxResourceDir = path.join(__dirname, 'resources', 'firefox');

Loading…
Cancel
Save