fix(core): update
This commit is contained in:
parent
4f0164965c
commit
8da88be5e8
@ -48,7 +48,11 @@ export class SmartPdf {
|
|||||||
this.htmlServerInstance.close(() => {
|
this.htmlServerInstance.close(() => {
|
||||||
done.resolve();
|
done.resolve();
|
||||||
});
|
});
|
||||||
await this.headlessBrowser.close();
|
|
||||||
|
if (!this.externalBrowser) {
|
||||||
|
await this.headlessBrowser.close();
|
||||||
|
}
|
||||||
|
|
||||||
await done.promise;
|
await done.promise;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user