diff options
Diffstat (limited to 'service/container_test.go')
-rw-r--r-- | service/container_test.go | 2 |
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 } |