Commit c397f5f2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Transactions get deleted alone now

parent 012a26e5
......@@ -337,7 +337,6 @@ void PackageKitBackend::refreshDatabase()
connect(m_refresher.data(), &PackageKit::Transaction::finished, this, [this]() {
reloadPackageList();
acquireFetching(false);
delete m_refresher;
});
} else {
qWarning() << "already resetting";
......
......@@ -60,7 +60,6 @@ PackageKitUpdater::PackageKitUpdater(PackageKitBackend * parent)
PackageKitUpdater::~PackageKitUpdater()
{
delete m_transaction;
}
void PackageKitUpdater::prepare()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment