coreos/go-systemd — pull request #44 by marineam (2014-04-15 21:46:30+00:00)
Title: fix(subscription): Fix handling of Close()

Do not call sysconn.Close outside of dbus.go. The behavior is surprising
and depending on how the error happened sysconn could already be closed,
resulting in a double-close panic.

Gracefully exit the signal goroutine if its channel has been closed.