The pending pkg information by the uninstall request
doesn't have a pkg handle
Change-Id: Ie0341d42c469625bbcec7b0e4be07a9fdc028f06
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
pending_app_.erase(app_it);
}
pending_app_.erase(app_it);
}
- AddPackage(std::move(it->second.second));
+ if (it->second.second)
+ AddPackage(std::move(it->second.second));
+
EraseWriterPID(it->second.first);
it = pending_pkg_.erase(it);
}
EraseWriterPID(it->second.first);
it = pending_pkg_.erase(it);
}