Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix websocket connection bugs #41

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

qiaoshangyougeren
Copy link


🔍 What type of PR is this?

/kind bug

👀 What this PR does / why we need it:

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • [✓] All the tests have passed

🅰 Which issue(s) this PR fixes:

Fixes #
1.ws login方法调用如果连不上wsManager没有销毁,导致无法再登录
2.ws连上后,网络断开重连超过次数后,没有处理,也导致wsManger没有销毁
3.sendMessage发送消息如果不是OPEN状态导致,promise一直卡住

📝 Special notes for your reviewer:

🎯 Describe how to verify it

📑 Additional documentation e.g., RFC, notion, Google docs, usage docs, etc.:

2.ws连上后,网络断开重连超过次数后,没有处理,也导致wsManger没有销毁
3.sendMessage发送消息如果不是OPEN状态导致,promise一直卡住
@pull-request-size pull-request-size bot added size/L and removed size/S labels Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants