ing
This commit is contained in:
parent
08688dfb2f
commit
91fb8f2093
|
@ -91,7 +91,6 @@ func (s *rpcServlet) Start(parentCTX cuc.Context, conn interface{}, doneChan cha
|
|||
}
|
||||
|
||||
func (s *rpcServlet) Send(method string, args ...interface{}) (err error) {
|
||||
s.sendMtx.RLock()
|
||||
noti := ¬ification{
|
||||
method: method,
|
||||
args: args,
|
||||
|
@ -101,7 +100,6 @@ func (s *rpcServlet) Send(method string, args ...interface{}) (err error) {
|
|||
}
|
||||
|
||||
s.responseQueueChan <- rs
|
||||
s.sendMtx.RUnlock()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user