release alpm handle

This commit is contained in:
2021-07-29 00:45:45 +02:00
parent 156ac4c2cb
commit 816ce81207

View File

@@ -512,6 +512,7 @@ func (b *BuildManager) syncWorker() {
}
// fetch updates between sync runs
check(alpmHandle.Release())
setupChroot()
var err error
alpmHandle, err = initALPM(filepath.Join(conf.Basedir.Chroot, pristineChroot), filepath.Join(conf.Basedir.Chroot, pristineChroot, "/var/lib/pacman"))