summaryrefslogtreecommitdiff
path: root/service/reload/service.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-23 16:24:45 +0300
committerValery Piashchynski <[email protected]>2020-02-23 16:24:45 +0300
commit8602c72a17f8ecabef2355d1d24ad569239f7bfa (patch)
treef36f7b650755bc42f9fd7b64f8de0d90f4cefa96 /service/reload/service.go
parent88c13f9709bbb0033dddca21e181a5d62f7317e7 (diff)
Send message to the service stop channel
Diffstat (limited to 'service/reload/service.go')
-rw-r--r--service/reload/service.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/reload/service.go b/service/reload/service.go
index d5b6a024..7bfb0f28 100644
--- a/service/reload/service.go
+++ b/service/reload/service.go
@@ -161,4 +161,5 @@ func (s *Service) Serve() error {
func (s *Service) Stop() {
s.watcher.Stop()
+ s.stopc <- struct{}{}
}