Open swistaczek opened 11 years ago
The library currently does not care about closing the connection. That is bad form but I wonder whether it actually hurts in practice. You can get at the socket used by the connection and close it yourself, but please be aware that I consider the socket attribute an implementation detail that may be moved somewhere else.
Notes to self: Things to consider when adding DBus::Connection#close
:
@buffer
, do we care?DBus.system_bus
, DBus.session_bus
? Should we allow reopening? Or replacing with a new object?DBus::ConnectionQueue#close
exists in the multithreading branch.
Hello @mvidner, I would like to ask you if there is any option to close DBus connection? I am iterating through Modem Manager modems and after gathering some information I would like to close dbus connection.