Skip to content

Commit

Permalink
events: remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewpi committed Jan 20, 2022
1 parent 4ba5fe2 commit 71e56c7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package events
import (
"strings"
"sync"

"github.com/apex/log"
)

type Listener chan Event
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 71e56c7

Please sign in to comment.