This commit is contained in:
crusader 2018-03-23 17:06:36 +09:00
parent 08688dfb2f
commit 91fb8f2093

View File

@ -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 := &notification{
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
}