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(_read_device): delete mmap object references preventing deletion of temporary directory #59

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

chanshing
Copy link
Member

@chanshing chanshing commented Nov 15, 2024

This fixes a bug causing "The process cannot access the file because it is being used by another process." due to hanging references to an open mmap file, preventing the deletion of the temporary directory.

Bug was non-breaking (the temporary directory would just get deleted at the end of the run instead of promptly) and seems to only happen in Windows.

Closes #41

…ary directory

This fixes a bug causing "The process cannot access the file because it is being used by another process." due to hanging references to the open mmap file.
@chanshing chanshing merged commit 83d7f7d into master Nov 15, 2024
50 checks passed
@chanshing chanshing changed the title fix(_read_device): delete mmap obj refs preventing deletion of tempor… fix(_read_device): delete mmap object references preventing deletion of temporary directory Nov 15, 2024
@chanshing chanshing deleted the fix/rmtree-tmpdir-error branch November 15, 2024 17:36
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.

Error reported for temp data.npy file
1 participant