fix(core): update

This commit is contained in:
Philipp Kunz 2019-06-03 13:02:01 +02:00
parent 4f0164965c
commit 8da88be5e8

View File

@ -48,7 +48,11 @@ export class SmartPdf {
this.htmlServerInstance.close(() => {
done.resolve();
});
if (!this.externalBrowser) {
await this.headlessBrowser.close();
}
await done.promise;
}