Skip to content

Use the message bus as a context manager#115

Draft
poncovka wants to merge 1 commit intodasbus-project:masterfrom
poncovka:master-bus_context_manager
Draft

Use the message bus as a context manager#115
poncovka wants to merge 1 commit intodasbus-project:masterfrom
poncovka:master-bus_context_manager

Conversation

@poncovka
Copy link
Copy Markdown
Collaborator

@poncovka poncovka commented Feb 4, 2023

Use with message_bus: instead of message_bus.disconnect() to automatically unregister DBus services and objects and disconnect from the established DBus connection.

Use `with message_bus:` instead of `message_bus.disconnect()`
to automatically unregister DBus services and objects and
disconnect from the established DBus connection.
@poncovka poncovka added the enhancement New feature or request label Feb 4, 2023
@poncovka poncovka linked an issue Feb 4, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

Natively support with context managers.

1 participant