From 2103ea902f9d45fefa9b4546b541650ad132df43 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 30 Nov 2017 16:16:36 +0900 Subject: [PATCH] ing --- internal/server/rpc/rpc_gateway_servlet_handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/server/rpc/rpc_gateway_servlet_handlers.go b/internal/server/rpc/rpc_gateway_servlet_handlers.go index c1827c7..92a97fc 100644 --- a/internal/server/rpc/rpc_gateway_servlet_handlers.go +++ b/internal/server/rpc/rpc_gateway_servlet_handlers.go @@ -85,6 +85,7 @@ func (sh *RPCGatewayServletHandlers) Handle(soc cwf.Socket, stopChan <-chan stru case err = <-rpcDoneChan: case <-stopChan: rpcServlet.Stop() + <-rpcDoneChan } }