From 1b89f26e3674bcb062b78a87bcf9fb60af04b046 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Mon, 11 Jun 2018 21:59:10 +0300 Subject: no library dependency --- service/container_test.go | 8 -------- 1 file changed, 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{} { -- cgit v1.2.3