Browse Source

Protects from killing a closed process

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

4
test/webbrowser.js

@ -99,7 +99,9 @@ WebBrowser.prototype = {
this.callback = callback; this.callback = callback;
} }
this.process.kill('SIGTERM'); if (this.process) {
this.process.kill('SIGTERM');
}
} }
}; };

Loading…
Cancel
Save