From 982f387a3940cbd312eb282e4ab68f085229a67c Mon Sep 17 00:00:00 2001 From: DeoVero Server Date: Tue, 29 Jul 2025 21:54:20 +0200 Subject: [PATCH] Close page after checking. This prevents buildup of many Chrome threads. --- src/Crawler/ChromeCrawler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Crawler/ChromeCrawler.php b/src/Crawler/ChromeCrawler.php index 4451389..fc79e4a 100644 --- a/src/Crawler/ChromeCrawler.php +++ b/src/Crawler/ChromeCrawler.php @@ -42,6 +42,7 @@ public function processUrl(UrlInterface $url): ResultInterface $result->setPageSize(mb_strlen($value)); $result->setBody($value); } + $page->close(); } return $result;