mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
event: fix inconsistency in Lock and Unlock
This commit is contained in:
parent
3bf1054a13
commit
255e927d0b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue