fix(wecom): await async disconnect, add SDK attribution in README

This commit is contained in:
Re-bin
2026-03-11 08:04:14 +00:00
parent 0dff7d374e
commit 7ceddcded6
2 changed files with 4 additions and 5 deletions

View File

@@ -98,7 +98,7 @@ class WecomChannel(BaseChannel):
"""Stop the WeCom bot."""
self._running = False
if self._client:
self._client.disconnect()
await self._client.disconnect()
logger.info("WeCom bot stopped")
async def _on_connected(self, frame: Any) -> None: