Skip to content

fix: Protect circular buffer during close in reconnectingPTY #3646

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

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

mafredri
Copy link
Member

This PR fixes a data race during reconnectingPTY.Close.

Saw the race in CI: https://github.com/coder/coder/runs/7977030943?check_suite_focus=true

@mafredri mafredri self-assigned this Aug 23, 2022
@mafredri mafredri requested a review from a team August 23, 2022 15:57
@mafredri mafredri enabled auto-merge (squash) August 23, 2022 16:05
@mafredri mafredri merged commit 5025fe2 into main Aug 23, 2022
@mafredri mafredri deleted the mafredri/reconnting-pty-close-race branch August 23, 2022 16:07
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.

4 participants