graceful exit

This commit is contained in:
CakeCN
2025-09-13 15:30:18 +08:00
parent 2087776e40
commit b1e132db8d
3 changed files with 50 additions and 3 deletions

View File

@@ -247,4 +247,6 @@ class ChatManager:
with self._lock:
keys = list(self._procs.keys())
for k in keys:
self.stop(k)
self.stop(k)