events: remove debug log

This commit is contained in:
Matthew Penner
2022-01-20 09:50:13 -07:00
parent 4ba5fe2866
commit 71e56c7da6

View File

@@ -3,8 +3,6 @@ package events
import (
"strings"
"sync"
"github.com/apex/log"
)
type Listener chan Event
@@ -38,7 +36,6 @@ func (b *Bus) Off(listener Listener, topics ...string) {
for _, topic := range topics {
ok := b.off(topic, listener)
if !closed && ok {
log.Debug("closing event channel!")
close(listener)
closed = true
}