diff --git a/src/Processor/Chromium.php b/src/Processor/Chromium.php index dafc77c..4d1b25a 100644 --- a/src/Processor/Chromium.php +++ b/src/Processor/Chromium.php @@ -136,7 +136,7 @@ public function getPdfFromString(string $html, array $params = [], bool $returnF Logger::debug('Could not create pdf with chromium: '. print_r($e, true)); $output = (string) $e; } finally { - $browser->close(); + $page->close(); } return $output;