foliko 1.0.32 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foliko",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "description": "简约的插件化 Agent 框架",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -573,6 +573,11 @@ module.exports = function(Plugin) {
573
573
  */
574
574
  stopClient() {
575
575
  if (this._wsClient) {
576
+ try {
577
+ this._wsClient.close()
578
+ } catch (e) {
579
+ // ignore close error
580
+ }
576
581
  this._wsClient = null
577
582
  this._client = null
578
583
  console.log('[Feishu] Client stopped')