summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/container_test.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/service/container_test.go b/service/container_test.go
index ecc89160..34d8389e 100644
--- a/service/container_test.go
+++ b/service/container_test.go
@@ -54,15 +54,7 @@ func (t *testService) Serve() error {
}
func (t *testService) Stop() {
- t.mu.Lock()
- defer t.mu.Unlock()
-
close(t.serving)
- if t.serving == nil {
- return
- }
-
- t.serving = nil
}
func (t *testService) waitChan() chan interface{} {