From 9fd507f383eb058f313a94b26d7781f728f758b6 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 14 Mar 2018 16:02:31 +0900 Subject: [PATCH] ing --- internal/server/rpc/rpc_gateway_servlet_handlers.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/server/rpc/rpc_gateway_servlet_handlers.go b/internal/server/rpc/rpc_gateway_servlet_handlers.go index dc59d12..b05fba7 100644 --- a/internal/server/rpc/rpc_gateway_servlet_handlers.go +++ b/internal/server/rpc/rpc_gateway_servlet_handlers.go @@ -68,10 +68,12 @@ func (sh *RPCGatewayServletHandlers) OnConnect(soc cwf.Socket) { func (sh *RPCGatewayServletHandlers) Handle(soc cwf.Socket, stopChan <-chan struct{}, doneChan chan<- error) { var err error - rpcServlet := retainRPCServlet(sh.gwRPCSH, sh.rpcRWCSH) + // rpcServlet := retainRPCServlet(sh.gwRPCSH, sh.rpcRWCSH) + + rpcServlet := cRPC.NewServlet(sh.gwRPCSH, sh.rpcRWCSH) defer func() { - releaseRPCServlet(rpcServlet) + // releaseRPCServlet(rpcServlet) doneChan <- err }()