diff options
Diffstat (limited to 'service/rpc/service.go')
-rw-r--r-- | service/rpc/service.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/rpc/service.go b/service/rpc/service.go index e1147754..82f26407 100644 --- a/service/rpc/service.go +++ b/service/rpc/service.go @@ -60,7 +60,7 @@ func (s *Service) Serve() error { for { select { case <-s.stop: - break + return default: conn, err := ln.Accept() if err != nil { |