This PR provides a better solution. It avoids references to CompoundAction objects instead of keeping an unnecessary reference to the source Actiongraph object.
coverage: 71.406% (+0.006%) from 71.4%
when pulling 0638ef981b377ba3449291a7c6d3b8d9394668ac on avoid-actiongraph-ref
into fc04e352c422c6446f7f0ee8f496481e9feef4ae on master.
coverage: 71.406% (+0.006%) from 71.4%
when pulling 591c536c9e17f43e2349154a189aa653d8ee2814 on avoid-actiongraph-ref
into fc04e352c422c6446f7f0ee8f496481e9feef4ae on master.
A hot-fix was implemeted by https://github.com/openSUSE/agama/pull/1400 in order to avoid possible segmentation fault when generating the list of storage actions.
This PR provides a better solution. It avoids references to
CompoundAction
objects instead of keeping an unnecessary reference to the sourceActiongraph
object.See https://github.com/openSUSE/agama/issues/1396