mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 11:56:53 +00:00
fix buffer size bug
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user