Fix locking when removing packages from source repository
This commit is contained in:
parent
a43fec4868
commit
4017d50a20
|
@ -337,7 +337,7 @@ void MovePackages::run()
|
|||
});
|
||||
|
||||
// remove package from database file of source repo
|
||||
m_setup.locks.acquireToWrite(m_buildAction->log(), std::move(m_destinationDatabaseLockName),
|
||||
m_setup.locks.acquireToWrite(m_buildAction->log(), std::move(m_sourceDatabaseLockName),
|
||||
[this, buildAction = m_buildAction,
|
||||
repoRemoveProcess = m_buildAction->makeBuildProcess("repo-remove", m_workingDirectory + "/repo-remove.log",
|
||||
std::bind(&MovePackages::handleRepoRemoveResult, this, processSession, std::placeholders::_1, std::placeholders::_2))](
|
||||
|
|
Loading…
Reference in New Issue