优化浏览器context复用
This commit is contained in:
@@ -80,6 +80,7 @@ async def lifespan(app: FastAPI):
|
||||
try:
|
||||
yield
|
||||
finally:
|
||||
await container.session_manager.close()
|
||||
await container.browser_pool.close()
|
||||
await container.session_store.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user