diff --git a/src/servers/package/Volume.cpp b/src/servers/package/Volume.cpp index 2cf2948d52..700de901f3 100644 --- a/src/servers/package/Volume.cpp +++ b/src/servers/package/Volume.cpp @@ -862,6 +862,12 @@ INFORM("Volume::_PackagesEntryCreated(\"%s\")\n", name); "\"%s\"\n", name); } + // Remove the package from the packages-to-be-deactivated set, if it is in + // there (unlikely, unless we see a remove-create sequence). + PackageSet::iterator it = fPackagesToBeDeactivated.find(package); + if (it != fPackagesToBeDeactivated.end()) + fPackagesToBeDeactivated.erase(it); + return; }