Skip to content

Conversation

@vcaputo
Copy link
Contributor

@vcaputo vcaputo commented Oct 2, 2014

No description provided.

dbus/dbus.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"To ensure the underlying connection is garbage collected, users should call Close() when finished with the returned Conn."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't that a bit obvious to be stating here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, how about "Callers should Close() when done with the connection."
It's a little closer to the general convention

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me.

@jonboulle
Copy link
Contributor

lgtm

vcaputo added a commit that referenced this pull request Oct 2, 2014
Add Close method to go-systemd/dbus
@vcaputo vcaputo merged commit b8993eb into coreos:master Oct 2, 2014
@vcaputo vcaputo deleted the add_close branch November 18, 2014 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants