Fix forget to close server session

This commit is contained in:
auxten
2018-12-05 11:34:04 +08:00
parent adfc81dd78
commit 9a596215cd
+1
View File
@@ -91,6 +91,7 @@ func TestGetDieCh(t *testing.T) {
if err != nil {
t.Fatal(err)
}
defer ss.Close()
dieCh := ss.GetDieCh()
go func() {
select {