diff --git a/package.json b/package.json index 8f852c0..6473cc3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wechaty-puppet-bridge", - "version": "0.15.1", + "version": "0.15.2", "description": "Puppet Bridge for Wechaty", "type": "module", "exports": { diff --git a/src/puppet-bridge-lich0821-WeChatFerry-3091027.ts b/src/puppet-bridge-lich0821-WeChatFerry-3091027.ts index c7abebc..0d2e447 100644 --- a/src/puppet-bridge-lich0821-WeChatFerry-3091027.ts +++ b/src/puppet-bridge-lich0821-WeChatFerry-3091027.ts @@ -571,6 +571,7 @@ class PuppetBridge extends PUPPET.Puppet { log.verbose('PuppetBridge', 'onStop()') if (this.logonoff()) { + this.bridge.client.stop() await this.logout() } }