forked from lix-project/lix
Garbage collector: Release locks on temporary root files
This allows processes waiting for such locks to proceed during the trash deletion phase of the garbage collector.
This commit is contained in:
parent
c5b8fe3151
commit
a6add93d73
|
@ -734,6 +734,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
|
|||
|
||||
/* Allow other processes to add to the store from here on. */
|
||||
fdGCLock.close();
|
||||
fds.clear();
|
||||
|
||||
/* Delete the trash directory. */
|
||||
printMsg(lvlInfo, format("deleting `%1%'") % state.trashDir);
|
||||
|
|
Loading…
Reference in a new issue