diff --git a/machine1/dbus.go b/machine1/dbus.go index 40207c30..e60cc9f2 100644 --- a/machine1/dbus.go +++ b/machine1/dbus.go @@ -113,6 +113,11 @@ func (c *Conn) getPath(method string, args ...any) (dbus.ObjectPath, error) { return path, nil } +// Close the underlying dbus connection +func (c *Conn) Close() error { + return c.conn.Close() +} + // Connected returns whether conn is connected func (c *Conn) Connected() bool { return c.conn.Connected()