summaryrefslogtreecommitdiff
path: root/service/container_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-11 21:53:43 +0300
committerWolfy-J <[email protected]>2018-06-11 21:53:43 +0300
commit230fc1eccaae7aa8764a2ab0f098bc72c07e3322 (patch)
treef3d4d88a571e466d8e6fec41b7e178f6c8de0a97 /service/container_test.go
parent57bddc9e18ace920a4a7293aedbe2d023c650b43 (diff)
no library dependency
Diffstat (limited to 'service/container_test.go')
-rw-r--r--service/container_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/container_test.go b/service/container_test.go
index 8eaf13d4..ecc89160 100644
--- a/service/container_test.go
+++ b/service/container_test.go
@@ -57,11 +57,11 @@ func (t *testService) Stop() {
t.mu.Lock()
defer t.mu.Unlock()
+ close(t.serving)
if t.serving == nil {
return
}
- close(t.serving)
t.serving = nil
}