summaryrefslogtreecommitdiff
path: root/service/container_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-11 21:59:10 +0300
committerWolfy-J <[email protected]>2018-06-11 21:59:10 +0300
commit1b89f26e3674bcb062b78a87bcf9fb60af04b046 (patch)
tree245d446496ff8e3c0b10c7cab064f9bf52e092a9 /service/container_test.go
parentcb12a087ed8b0054ad40d0b3f63f1b477796baba (diff)
no library dependency
Diffstat (limited to 'service/container_test.go')
-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{} {