Skip to content

Fix windows open files with context#1991

Merged
shirou merged 2 commits intoshirou:masterfrom
ebriney:fix-windows-open-files-with-context
Jan 14, 2026
Merged

Fix windows open files with context#1991
shirou merged 2 commits intoshirou:masterfrom
ebriney:fix-windows-open-files-with-context

Conversation

@ebriney
Copy link
Copy Markdown
Contributor

@ebriney ebriney commented Jan 14, 2026

This PR fixes a bug where a goroutine is stuck when context is done in Windows OpenFilesWithContext(ctx context.Context) implementation.

Current TestOpenFiles unit test is covering the new lines with success.

Copy link
Copy Markdown
Owner

@shirou shirou left a comment

Choose a reason for hiding this comment

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

Great catch! Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants