summaryrefslogtreecommitdiff
path: root/service/http
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-23 20:21:12 +0300
committerWolfy-J <[email protected]>2018-06-23 20:21:12 +0300
commit88b3416e0cb795873787014906b48d184f8fe78a (patch)
tree3fdebb92ef36277a43b9303703d8f22aa8edf9dd /service/http
parent008a42fc6138e74766cdf9011a8dfc60df71b4a0 (diff)
better shutdown
Diffstat (limited to 'service/http')
-rw-r--r--service/http/service.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/service/http/service.go b/service/http/service.go
index 2df8656c..7fad3c49 100644
--- a/service/http/service.go
+++ b/service/http/service.go
@@ -105,7 +105,6 @@ func (s *Service) Stop() {
atomic.AddInt32(&s.inStopping, 1)
defer atomic.AddInt32(&s.inStopping, -1)
-
s.http.Shutdown(context.Background())
}