fix(core): update
This commit is contained in:
8
ts/00_commitinfo_data.ts
Normal file
8
ts/00_commitinfo_data.ts
Normal 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'
|
||||
}
|
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user