fix buffer size bug

This commit is contained in:
ffdfgdfg
2019-08-27 20:07:37 +08:00
parent 53c2e472ae
commit 41c282b38b
4 changed files with 35 additions and 20 deletions

View File

@@ -228,7 +228,7 @@ func (s *Mux) Close() error {
select {
case s.closeChan <- struct{}{}:
}
s.closeChan <- struct{}{}
//s.closeChan <- struct{}{}
close(s.writeQueue)
close(s.newConnCh)
return s.conn.Close()