mirror of
https://github.com/xtekky/gpt4free.git
synced 2026-03-09 08:12:26 -07:00
fix: await stop_browser call in GoogleSearch to ensure proper asynchronous execution
This commit is contained in:
parent
0943d16eef
commit
0563c0c1d3
1 changed files with 1 additions and 1 deletions
|
|
@ -50,4 +50,4 @@ class GoogleSearch(AsyncGeneratorProvider, AuthFileMixin):
|
|||
await asyncio.sleep(1000)
|
||||
finally:
|
||||
if stop_browser is not None:
|
||||
stop_browser()
|
||||
await stop_browser()
|
||||
Loading…
Add table
Add a link
Reference in a new issue