event: fix inconsistency in Lock and Unlock

This commit is contained in:
root 2020-04-16 04:25:41 -04:00
parent 3bf1054a13
commit 255e927d0b

View file

@ -125,7 +125,7 @@ func (mux *TypeMux) del(s *TypeMuxSubscription) {
} }
} }
} }
s.mux.mutex.Unlock() mux.mutex.Unlock()
} }
func find(slice []*TypeMuxSubscription, item *TypeMuxSubscription) int { func find(slice []*TypeMuxSubscription, item *TypeMuxSubscription) int {