Populate close_browser_on_completion in cleanup_for_workflow_run (#4381)

This commit is contained in:
Stanislav Novosad
2026-01-02 16:35:14 -07:00
committed by GitHub
parent d5c5d50578
commit a23e63feed

View File

@@ -368,7 +368,7 @@ class RealBrowserManager(BrowserManager):
if task_browser_state is None:
continue
try:
await task_browser_state.close()
await task_browser_state.close(close_browser_on_completion=close_browser_on_completion)
except Exception:
LOG.info(
"Failed to close the browser state from the task block, might because it's already closed.",