package daemon: Volume: fix package removal after transaction

Volume::_ChangePackageActivation(): Refactoring oversight:
fPackagesToBeDeactivated was still used instead of the
packagesToDeactivate parameter, so the packages wouldn't be removed from
the hash tables when invoked from the CommitTransactionHandler. Fixes
#9921.
This commit is contained in:
Ingo Weinhold
2013-08-13 14:43:29 +02:00
parent 86233b1067
commit 998ef89065
+2 -2
View File
@@ -1721,8 +1721,8 @@ packagesToActivate.size(), packagesToDeactivate.size());
fChangeCount++;
}
for (PackageSet::iterator it = fPackagesToBeDeactivated.begin();
it != fPackagesToBeDeactivated.end(); ++it) {
for (PackageSet::iterator it = packagesToDeactivate.begin();
it != packagesToDeactivate.end(); ++it) {
Package* package = *it;
_RemovePackage(package);
delete package;