Skip to content

Commit

Permalink
[devicelock] Free dbus connections when they are disconnected. JB#45705
Browse files Browse the repository at this point in the history
  • Loading branch information
adenexter committed May 23, 2019
1 parent f54af87 commit 7eff0dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nemo-devicelock/host/hostservice.cpp
Expand Up @@ -70,6 +70,8 @@ public slots:
for (const auto object : m_service->m_objects) {
object->clientDisconnected(m_connectionName);
}

QDBusConnection::disconnectFromPeer(m_connectionName);
}

private:
Expand Down

0 comments on commit 7eff0dc

Please sign in to comment.