From 91fb8f20935be4bf4b35ae51dc93ae2f2d195511 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 23 Mar 2018 17:06:36 +0900 Subject: [PATCH] ing --- servlet.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/servlet.go b/servlet.go index 1e5f5d6..2446a34 100644 --- a/servlet.go +++ b/servlet.go @@ -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 }