From d8cbeff38643a119cc1534aa6176a5b45effc685 Mon Sep 17 00:00:00 2001 From: Aravind Karnam Date: Fri, 28 Mar 2025 19:31:05 +0530 Subject: [PATCH] fix: https://github.com/unclecode/crawl4ai/issues/842 --- crawl4ai/async_crawler_strategy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crawl4ai/async_crawler_strategy.py b/crawl4ai/async_crawler_strategy.py index 2330b3f3..ddd6348e 100644 --- a/crawl4ai/async_crawler_strategy.py +++ b/crawl4ai/async_crawler_strategy.py @@ -130,6 +130,8 @@ class AsyncPlaywrightCrawlerStrategy(AsyncCrawlerStrategy): Close the browser and clean up resources. """ await self.browser_manager.close() + # Explicitly reset the static Playwright instance + BrowserManager._playwright_instance = None async def kill_session(self, session_id: str): """