fix(wecom): await async disconnect, add SDK attribution in README
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user