mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
event: concurrently deliver events to each TypeMuxSubscription
This commit is contained in:
parent
bf468a81ec
commit
8a6ca50919
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ func (mux *TypeMux) Post(ev interface{}) error {
|
|||
subs := mux.subm[rtyp]
|
||||
mux.mutex.RUnlock()
|
||||
for _, sub := range subs {
|
||||
sub.deliver(event)
|
||||
go sub.deliver(event)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue