This commit is contained in:
fatedier 2018-01-17 01:18:40 +08:00 committed by Dolfly
parent a386e01743
commit 11f1786718

View File

@ -17,5 +17,5 @@ func TestShutdown(t *testing.T) {
time.Sleep(time.Millisecond) time.Sleep(time.Millisecond)
s.Done() s.Done()
}() }()
s.WaitDown() s.WaitDone()
} }