Git Extensions keeps handles open to repo directory, preventing it from being deleted
Do you want to request a feature or report a bug? Bug
What is the current behavior? When I had a repository open in GE and then open a different repository (by selecting a dropdown item from the toolbar) GE still keeps file handles on the repository directory itself and its .git sub-directory (I can see these in Process Hacker). This prevents the directory from being deleted.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Open GE, open repository 1, change to repository 2.
What is the expected behavior? GE closes all handles to the previously opened repository, so it can be deleted.
Environment you encounter the issue:
- GitExtensions version: 2.50.02
- GIT version: 2.15.0.windows.1
- OS version: Windows 7 N x64 SP1
Did this work in previous version of GitExtensions (which)? Don't know
Source: gitextensions/gitextensions