Skip to content

fix: Add missing lock around files dictionary#1260

Merged
vbreuss merged 1 commit intoTestableIO:mainfrom
wimoy:wimoy-patch-1
Apr 8, 2025
Merged

fix: Add missing lock around files dictionary#1260
vbreuss merged 1 commit intoTestableIO:mainfrom
wimoy:wimoy-patch-1

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.

Loading
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.

3 participants