mirror of
https://github.com/xtaci/smux.git
synced 2024-04-21 10:51:48 +00:00
Fix forget to close server session
This commit is contained in:
@@ -91,6 +91,7 @@ func TestGetDieCh(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer ss.Close()
|
||||
dieCh := ss.GetDieCh()
|
||||
go func() {
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user