Skip to content

Conversation

@wimoy
Copy link
Contributor

@wimoy wimoy commented Apr 6, 2025

The files dictionary could be modified and resized by another thread. Without the lock, the read is not synchronized and can cause a KeyNotFoundException.

@wimoy wimoy changed the title Add missing lock around files variable fix: Add missing lock around files variable Apr 6, 2025
@wimoy wimoy changed the title fix: Add missing lock around files variable fix: Add missing lock around files dictionary Apr 6, 2025
The files dictionary could be modified and resized by another thread. Without the lock, the read is not synchronized and can cause a KeyNotFoundException.
@vbreuss vbreuss requested a review from Copilot April 8, 2025 06:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

@vbreuss vbreuss merged commit 4e3c7df into TestableIO:main Apr 8, 2025
9 checks passed
@vbreuss
Copy link
Member

vbreuss commented Apr 8, 2025

Thanks, @wimoy

@github-actions
Copy link

This is addressed in release v22.0.14.

@github-actions github-actions bot added the state: released Issues that are released label Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state: released Issues that are released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants