diff --git a/vici/events.go b/vici/events.go index 78d4bf5..b4b287b 100644 --- a/vici/events.go +++ b/vici/events.go @@ -74,13 +74,6 @@ func newEventListener(cc *clientConn) *eventListener { // Close closes the event channel. func (el *eventListener) Close() error { - // This call interacts with charon, so get it - // done first. Then, we can stop the listen - // goroutine. - if err := el.unregisterEvents(nil, true); err != nil { - return err - } - if el.cc != nil { el.cc.Close() el.cc = nil