Skip to content

Commit

Permalink
fix(cnumr#27): Suppression de la fermeture des pages déjà fermées à l…
Browse files Browse the repository at this point in the history
…a fin de l'analyse
  • Loading branch information
jpreisner committed Apr 13, 2022
1 parent 683c203 commit 3ad8e58
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions commands/analyse.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ async function analyse_core(options) {
reports = await createJsonReports(browser, pagesInformations, options, proxy, headers);
} finally {
//close browser
let pages = await browser.pages();
await Promise.all(pages.map(page =>page.close()));
await browser.close()
}
//create report
Expand Down

0 comments on commit 3ad8e58

Please sign in to comment.