Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the message bus as a context manager #115

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

poncovka
Copy link
Contributor

@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