mirror of
https://github.com/status-im/status-console-client.git
synced 2025-02-23 16:18:23 +00:00
release lock before passing value to channel (#3)
This commit is contained in:
parent
0c9bf7d497
commit
e7caa232b3
@ -54,10 +54,10 @@ func (s *signalForwarder) Start() {
|
||||
|
||||
s.Lock()
|
||||
out, found := s.out[sig.RequestID]
|
||||
s.Unlock()
|
||||
if found {
|
||||
out <- sig
|
||||
}
|
||||
s.Unlock()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user