Skip to content

Commit

Permalink
Remove unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
vansante committed Apr 10, 2018
1 parent 1bede7c commit ea73e03
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions emitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (

type Emitter struct {
async bool
stopOnError bool
capturers []*Capturer
listeners map[EventType][]*Listener
listenerMutex sync.Mutex
Expand All @@ -16,8 +15,8 @@ type Emitter struct {
// Async determines whether events listeners fire in separate goroutines or not.
func NewEmitter(async bool) (em *Emitter) {
em = &Emitter{
async: async,
listeners: make(map[EventType][]*Listener),
async: async,
listeners: make(map[EventType][]*Listener),
}
return em
}
Expand Down

0 comments on commit ea73e03

Please sign in to comment.