From 888569749a9f7b5e69404fe0a057d9f30a1e3a79 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 30 Nov 2017 16:00:25 +0900 Subject: [PATCH] ing --- servlet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servlet.go b/servlet.go index b295070..4e370b0 100644 --- a/servlet.go +++ b/servlet.go @@ -123,9 +123,9 @@ func handleServlet(s *rpcServlet) { logging.Logger().Info(fmt.Sprintf("Servlet is started")) defer func() { - s.Stop() s.doneChan <- err s.stopWg.Done() + s.Stop() }() subStopChan := make(chan struct{})