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

Wait for pool to finish in validation #183

Merged

Conversation

sevein
Copy link
Contributor

@sevein sevein commented Oct 16, 2024

This pull request ensures _validate_entries uses pool.close() and pool.join() for proper multiprocessing cleanup, addressing the issues in #173, including avoiding UnboundLocalError and ensuring clean shutdown of worker processes.

Co-authored-by: Jesús García Crespo <[email protected]>
@acdha acdha merged commit da04180 into LibraryOfCongress:master Oct 16, 2024
6 checks passed
@sevein sevein deleted the dev/issue-173-multiprocessing-unbound branch October 16, 2024 17:43
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.

3 participants