diff --git a/sender.go b/sender.go index cfbbdfc..1873fe1 100644 --- a/sender.go +++ b/sender.go @@ -60,7 +60,6 @@ func (s *Sender) SenderAdd(c net.Conn) { blog(C.LOG_INFO, "disconnect: "+c.RemoteAddr().String()) s.Lock() - close(ch) delete(s.conns, c) s.Unlock() break