From ea73e03613173060f12a82ab1e720202390d0cc5 Mon Sep 17 00:00:00 2001 From: pvansanten Date: Tue, 10 Apr 2018 10:32:42 +0200 Subject: [PATCH] Remove unused property --- emitter.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/emitter.go b/emitter.go index e9f81b6..8cff99d 100644 --- a/emitter.go +++ b/emitter.go @@ -6,7 +6,6 @@ import ( type Emitter struct { async bool - stopOnError bool capturers []*Capturer listeners map[EventType][]*Listener listenerMutex sync.Mutex @@ -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 }