Skip to content

Commit

Permalink
build: separate .destroy and .close
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Feb 27, 2020
1 parent 5bcb3a6 commit e0f813d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/browserless/src/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const destroy = async (browser, opts) => {
const { pid } = browser.process()
const { value: pids = [] } = await pReflect(pidtree(pid, { root: true }))
debug('destroy', { pids })
await pReflect(browser.close())
kill(pids, opts)
return { pids }
}
Expand Down

0 comments on commit e0f813d

Please sign in to comment.