From 78b9956819b317536652e896416a7bae2128059c Mon Sep 17 00:00:00 2001 From: cfdaily Date: Tue, 19 May 2026 23:32:57 +0800 Subject: [PATCH] auto-sync: 2026-05-19 23:32:57 --- src/daemon/ticker.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/daemon/ticker.py b/src/daemon/ticker.py index 8e05053..ceb87a3 100644 --- a/src/daemon/ticker.py +++ b/src/daemon/ticker.py @@ -104,6 +104,13 @@ class Ticker: async def stop(self) -> None: """停止 tick 循环""" self._running = False + # 停止 InboxWatcher + if self.inbox_watcher: + try: + await self.inbox_watcher.stop() + logger.info("InboxWatcher stopped") + except Exception as e: + logger.warning("InboxWatcher stop failed: %s", e) if self._task: self._task.cancel() try: