Skip to content

Fix goroutine leak on context cancellation in ContainerExec#6

Merged
alicefr merged 1 commit into
mainfrom
goroutine-leak
May 20, 2026
Merged

Fix goroutine leak on context cancellation in ContainerExec#6
alicefr merged 1 commit into
mainfrom
goroutine-leak

Conversation

@alicefr

@alicefr alicefr commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Cancel the exec context when the caller's context is done so the ExecStartAndAttach goroutine terminates instead of running indefinitely.

Cancel the exec context when the caller's context is done so the
ExecStartAndAttach goroutine terminates instead of running indefinitely.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alicefr
alicefr merged commit ee46629 into main May 20, 2026
5 of 6 checks passed
@alicefr
alicefr deleted the goroutine-leak branch June 11, 2026 08:35
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.

1 participant