Skip to content
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

fix: enable race detector for test and fix all detected races #202

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

mxey
Copy link
Contributor

@mxey mxey commented Sep 27, 2024

virtualterm is used in the tests, but is apparently not parallel-safe by itself. Therefore use the progressbar's own lock in test code to guard access to the virtualterm.

fixes #200

virtualterm is used in the tests, but is apparently not parallel-safe
by itself. Therefore use the progressbar's own lock in test code to guard
access to the virtualterm.
@schollz
Copy link
Owner

schollz commented Sep 27, 2024

Amazing thank you!!

@schollz schollz merged commit 7b730f8 into schollz:main Sep 27, 2024
1 check passed
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.

Data race in v3.16.0
2 participants