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

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();
}