mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-30 14:55:21 -04:00
⚡ Close all Puppeteer.Browser pages
This commit is contained in:
parent
2779fcfc67
commit
d895fe8065
1 changed files with 3 additions and 1 deletions
|
@ -116,7 +116,7 @@ export class BitmapsGenerator {
|
|||
await svgElement.screenshot({ omitBackground: true, path: out });
|
||||
}
|
||||
|
||||
this.closeAllPages(browser);
|
||||
await this.closeAllPages(browser);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -173,6 +173,8 @@ export class BitmapsGenerator {
|
|||
index++;
|
||||
}
|
||||
}
|
||||
|
||||
await this.closeAllPages(browser);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue