fix(core): update

This commit is contained in:
2021-08-17 15:22:10 +02:00
parent ed1522062e
commit 87d7460183
5 changed files with 16 additions and 6 deletions

View File

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

View File

@ -11,5 +11,6 @@ export { smartdelay, smartenv };
// third party scope
import puppeteer from 'puppeteer';
import treeKill from 'tree-kill';
export { puppeteer };
export { puppeteer, treeKill };