@@ -321,11 +321,9 @@ func (c *Connection) SendMsgToClient() {
case <-c.closeChan:
return
case msg, ok := <-c.SendChan:
- c.mLock.Lock()
if c.Conn == nil {
}
- c.mLock.Unlock()
if !ok {
server.Log.Errorf("%s is end now", host)