Populate close_browser_on_completion in cleanup_for_workflow_run (#4381)
This commit is contained in:
committed by
GitHub
parent
d5c5d50578
commit
a23e63feed
@@ -368,7 +368,7 @@ class RealBrowserManager(BrowserManager):
|
|||||||
if task_browser_state is None:
|
if task_browser_state is None:
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
await task_browser_state.close()
|
await task_browser_state.close(close_browser_on_completion=close_browser_on_completion)
|
||||||
except Exception:
|
except Exception:
|
||||||
LOG.info(
|
LOG.info(
|
||||||
"Failed to close the browser state from the task block, might because it's already closed.",
|
"Failed to close the browser state from the task block, might because it's already closed.",
|
||||||
|
|||||||
Reference in New Issue
Block a user