Skip to content

Handle client disconnecting without calling doListing(false) #57

@aleasto

Description

@aleasto

A service should not rely on the clients always behaving as expected.
The client may disconnect from DBus without calling doListing(false). If that's the case, we never clean up the resources associated with this client.

A solution, without changing the bus API, might be to watch the bus-name of the client disappear through the org.freedesktop.DBus.NameOwnerChanged signal, and consider it equivalent to an explicit doListing(false)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions