diff options
author | Wolfy-J <[email protected]> | 2018-06-07 18:21:57 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-07 18:21:57 +0300 |
commit | 44c26ebae109cb0442a0df430aebfd7a82bb4a64 (patch) | |
tree | 21e7004b46c298c29b1ab2b589a9f72de77e8866 | |
parent | 64f644a1892f1e1606481ca4f89cb81ea2c1491f (diff) |
more tests
-rw-r--r-- | rpc/service.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rpc/service.go b/rpc/service.go index 71f6fc41..c07c70b9 100644 --- a/rpc/service.go +++ b/rpc/service.go @@ -69,6 +69,11 @@ func (s *Service) Serve() error { }() <-s.stop + + s.mu.Lock() + s.serving = false + s.mu.Unlock() + return nil } |