有死锁问题先去掉

pull/23/head
taoshihan1991 4 years ago
parent c6eef9d04a
commit bcd8ca733e

@ -118,9 +118,7 @@ func OneKefuMessage(toId string, str []byte) {
mKefuConns := KefuList[toId]
if mKefuConns != nil {
for _, kefu := range mKefuConns {
Mux.Lock()
kefu.Conn.WriteMessage(websocket.TextMessage, str)
Mux.Unlock()
}
}
SuperAdminMessage(str)

Loading…
Cancel
Save