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

Lock both source and destination files when copying or renaming files #1621

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

anttimaki
Copy link
Collaborator

This seems to resolve a race condition issue where a disabled mod was imported as a part of a profile. Before the fix, renaming the file with ".old" extension when disabling the mod after copying it into profile caused an EBUSY error.

This seems to resolve a race condition issue where a disabled mod was
imported as a part of a profile. Before the fix, renaming the file with
".old" extension when disabling the mod after copying it into profile
caused an EBUSY error.
@anttimaki anttimaki requested a review from ebkr January 17, 2025 10:10
@anttimaki anttimaki merged commit eb4dd72 into develop Feb 17, 2025
5 checks passed
@anttimaki anttimaki deleted the more-file-locks branch February 17, 2025 07:55
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.

2 participants