Skip to content

Conversation

@buvidk1234
Copy link

  • Add alreadyClosed flag to track if data channel was closed unexpectedly
  • Skip closing data channel in defer if already closed
  • Add unit test TestBatcher_UnexpectedChannelClose to verify the fix

Fixes #3653

- Add alreadyClosed flag to track if data channel was closed unexpectedly
- Skip closing data channel in defer if already closed
- Add unit test TestBatcher_UnexpectedChannelClose to verify the fix
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

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

@buvidk1234
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 Jan 6, 2026
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.

[BUG] Batcher scheduler may panic on double close of data channel

1 participant