Capture package metadata before install start

Authored by davidedmundson on Nov 7 2018, 12:20 PM.

Description

Capture package metadata before install start

Summary:
KPackage (despite being supposedly internally shared) is not kept as a
strong reference inside PackageJob. Potentially it could go out of scope
before a job ends.

The signals to emit changes relied on the package. This patch captures
relevant metadata at the start of the install.

noCrashOnAsyncInstall test now passes again

Test Plan: Ran test

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D16733

Details

Committed
davidedmundsonNov 7 2018, 12:46 PM
Differential Revision
D16733: Capture package metadata before install start
Parents
R290:b8b8ec2c82f0: It compiles without deprecated method
Branches
Unknown
Tags
Unknown