openimsdk/open-im-sdk-web

Bug: logout in miniprogram sdk can not work, promise has no return

qiaoshangyougeren opened this issue · 1 comments

What happened?

when in miniprogram sdk, logout api can not work, promise has no return. so that , app can not logout . after a white, sdk will reconnect to im-server automaticly . but this is not we want.

when client call logout , oimws server has a error message "use of closed network connection"

What did you expect to happen?

please check the logout api in open-im-sdk for miniprogram, maybe there is a bug. we hope the bug could be fixed as soon as possible.

How can we reproduce it (as minimally and precisely as possible)?

  1. start oimws/im-server
  2. login with open-im-sdk for miniprogram
  3. logout, then there is no return.

Anything else we need to know?

No response

version

"open-im-sdk": "^3.4.0" oimws: 873acb276a70c964a0bc131977debb5bd4a29ccf open-im-server: release-vv3.4

Cloud provider

OS version

ubuntu 20

Install tools

We have fixed this issue in 3.4.1