Skip to content

Add file lock killing support#684

Merged
SimonCropp merged 2 commits intomainfrom
Add-file-lock-killing-support
Mar 6, 2026
Merged

Add file lock killing support#684
SimonCropp merged 2 commits intomainfrom
Add-file-lock-killing-support

Conversation

@SimonCropp
Copy link
Member

No description provided.

Introduce an opt-in KillLockingProcess flag through tool definitions and resolved tools, propagate it through DiffTools, Tracker and TrackedMove, and enable it for the MsWordDiff tool. Implement FileLockKiller (uses Windows Restart Manager via rstrtmgr.dll) to identify and kill processes locking a file, and call it from Tracker when a SafeMove fails and the tool opts into killing lockers. Add FileLockKiller tests (FileLockKillerTest) and update .gitignore to ignore TestResults. Note: several method/constructor signatures were extended to accept the new flag.
@SimonCropp SimonCropp added this to the 19.0.0 milestone Mar 6, 2026
@SimonCropp SimonCropp merged commit 061993b into main Mar 6, 2026
6 of 7 checks passed
@SimonCropp SimonCropp deleted the Add-file-lock-killing-support branch March 6, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant