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

Lock on close outbound #213

Merged
merged 1 commit into from
May 4, 2023
Merged

Lock on close outbound #213

merged 1 commit into from
May 4, 2023

Conversation

mochi-co
Copy link
Collaborator

@mochi-co mochi-co commented May 4, 2023

Makes a small change to refactor the lock introduced in #212 to also lock when the outbound channel is closed, to prevent concurrency issues when trying to write to a channel which has already been closed (per #202)

@coveralls
Copy link

Pull Request Test Coverage Report for Build 4888098602

  • 11 of 11 (100.0%) changed or added relevant lines in 1 file are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.08%) to 98.525%

Files with Coverage Reduction New Missed Lines %
server.go 4 99.22%
Totals Coverage Status
Change from base Build 4887839462: -0.08%
Covered Lines: 5144
Relevant Lines: 5221

💛 - Coveralls

@mochi-co mochi-co merged commit 10e82f4 into master May 4, 2023
@mochi-co mochi-co deleted the lock-close-outbound branch May 4, 2023 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants