MCPcopy
hub / github.com/JaveleyQAQ/WeChatOpenDevTools-Python / manage_sessions

Method manage_sessions

utils/commons.py:92–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

90 self.load_wechatEx_configs()
91
92 def manage_sessions(self):
93 for session in self.active_sessions[:]: # 使用切片创建副本以便在迭代时修改
94 if session.is_detached:
95 print(f"Session {session} detached, removing from active sessions.")
96 self.active_sessions.remove(session)
97
98def get_cpu_architecture():
99 try:

Callers 1

load_wechatEx_configsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected