Skip to content

Conversation

@wittenjing
Copy link

@wittenjing wittenjing commented Sep 25, 2025

#3575 🅰 Please add the issue ID after "Fixes #"

Fixes #

When the app changes its connection from server A to server B, the memory allocated for the old connection in server A is not reclaimed.

Related bug: #3449

Scenario:

multiple terminals may log in using the same token

@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 25, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 25, 2025

🤖 All Contributors have signed the CLA.
The signed information is recorded here
Posted by the CLA Assistant Lite bot.

@wittenjing
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

OpenIM-Robot added a commit to OpenIM-Robot/cla that referenced this pull request Sep 26, 2025
@wittenjing wittenjing changed the title fix oldClient object memory leak Fixed the issue where multiple terminals may log in using the same token Sep 29, 2025
Copy link
Member

@mo3et mo3et left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, Thanks for your contribution! This fix is solve in main and 3.8.3-patch branch but not in v3.8.4.

Just need add log when oldclient token is same to newClient token is ture.

I will merge it to v3.8.4 version when this PR is merged.

@mo3et mo3et enabled auto-merge September 30, 2025 04:04
auto-merge was automatically disabled October 10, 2025 07:57

Head branch was pushed to by a user without write access

@wittenjing wittenjing requested a review from mo3et October 10, 2025 08:05
@mo3et mo3et enabled auto-merge October 10, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants