mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-27 02:54:36 +00:00
dbus/properties: fix QDBusPendingCallWatcher leak
This commit is contained in:
1 file changed
+2
-1
@@ -104,6 +104,8 @@ void asyncReadPropertyInternal(
|
||||
return demarshallVariant(reply.value().variant(), type, slot);
|
||||
}
|
||||
});
|
||||
|
||||
delete call;
|
||||
};
|
||||
|
||||
QObject::connect(call, &QDBusPendingCallWatcher::finished, &interface, responseCallback);
|
||||
@@ -231,7 +233,6 @@ void DBusPropertyGroup::updateAllViaGetAll() {
|
||||
}
|
||||
|
||||
delete call;
|
||||
|
||||
emit this->getAllFinished();
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user