We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3680cd5 commit cefeb58Copy full SHA for cefeb58
event/event.go
@@ -56,7 +56,7 @@ func (mux *TypeMux) Subscribe(types ...interface{}) *TypeMuxSubscription {
56
defer mux.mutex.Unlock()
57
if mux.stopped {
58
// set the status to closed so that calling Unsubscribe after this
59
- // call will short curuit
+ // call will short circuit.
60
sub.closed = true
61
close(sub.postC)
62
} else {
0 commit comments