Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- process.on('SIGINT', function() {
- if (!browser) return;
- browser.end();
- browser.proc.disconnect();
- browser.proc.kill();
- browser.ended = true;
- browser = null;
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement