Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZyphrZero/z.ai2api_python
/ close_guest_session_pool
Function
close_guest_session_pool
app/utils/guest_session_pool.py:637–646 ·
view source on GitHub ↗
关闭全局匿名会话池。
()
Source
from the content-addressed store, hash-verified
635
636
637
async
def
close_guest_session_pool():
638
""
"关闭全局匿名会话池。"
""
639
global _guest_session_pool
640
641
with
_guest_pool_lock:
642
pool = _guest_session_pool
643
_guest_session_pool = None
644
645
if
pool:
646
await pool.close()
Callers
1
lifespan
Function · 0.90
Calls
1
close
Method · 0.80
Tested by
no test coverage detected