mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-02 01:37:04 +08:00
fix buffer size bug
This commit is contained in:
1 parent
53c2e472ae
commit
41c282b38b
4 files changed
+35
-20
No files matched your search
+1
-1
@@ -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