Commit 7eff0dcf authored by Andrew den Exter's avatar Andrew den Exter

[devicelock] Free dbus connections when they are disconnected. JB#45705

parent f54af876
...@@ -70,6 +70,8 @@ public slots: ...@@ -70,6 +70,8 @@ public slots:
for (const auto object : m_service->m_objects) { for (const auto object : m_service->m_objects) {
object->clientDisconnected(m_connectionName); object->clientDisconnected(m_connectionName);
} }
QDBusConnection::disconnectFromPeer(m_connectionName);
} }
private: private:
......
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