fix(core): update

This commit is contained in:
2022-07-18 02:48:46 +02:00
parent 407ccf66b9
commit 76999d8720
5 changed files with 2248 additions and 10728 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/smartpuppeteer',
version: '2.0.1',
description: 'simplified access to puppeteer'
}

View File

@ -28,7 +28,7 @@ export class IncognitoBrowser {
*/
public async stop() {
this.status = 'stopped';
plugins.treeKill(this.browser.process().pid, 'SIGKILL');
plugins.treeKill(this.browser.process()?.pid as number, 'SIGKILL');
await this.browser.close();
}