aboutsummaryrefslogtreecommitdiffstats
path: root/event
diff options
context:
space:
mode:
authorJia Chenhui <jiachenhui1989@gmail.com>2017-10-10 20:11:15 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-10-10 20:11:15 +0800
commitcefeb5859866f2fe119b7936f7c97137b7efb7b6 (patch)
tree8d9fc23cb058089c3533ebd74432dd0c49e11ab3 /event
parent3680cd5926c1185b2338648bad29fae15e5f34b8 (diff)
downloadgo-tangerine-cefeb5859866f2fe119b7936f7c97137b7efb7b6.tar
go-tangerine-cefeb5859866f2fe119b7936f7c97137b7efb7b6.tar.gz
go-tangerine-cefeb5859866f2fe119b7936f7c97137b7efb7b6.tar.bz2
go-tangerine-cefeb5859866f2fe119b7936f7c97137b7efb7b6.tar.lz
go-tangerine-cefeb5859866f2fe119b7936f7c97137b7efb7b6.tar.xz
go-tangerine-cefeb5859866f2fe119b7936f7c97137b7efb7b6.tar.zst
go-tangerine-cefeb5859866f2fe119b7936f7c97137b7efb7b6.zip
event: fix typo (#15270)
Diffstat (limited to 'event')
-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 {