aboutsummaryrefslogtreecommitdiffstats
path: root/event/event.go
diff options
context:
space:
mode:
Diffstat (limited to 'event/event.go')
-rw-r--r--event/event.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/event/event.go b/event/event.go
index d3e84f0f7..20d20d1f5 100644
--- a/event/event.go
+++ b/event/event.go
@@ -56,7 +56,7 @@ func (mux *TypeMux) Subscribe(types ...interface{}) *TypeMuxSubscription {
defer mux.mutex.Unlock()
if mux.stopped {
// set the status to closed so that calling Unsubscribe after this
- // call will short curuit
+ // call will short circuit.
sub.closed = true
close(sub.postC)
} else {