This commit is contained in:
hahwu 2025-12-16 19:28:09 +08:00
parent 2b17f28a32
commit fa06340cdc

View File

@ -101,6 +101,7 @@ func (wsConn *WSConn) ReadMsg() ([]byte, error) {
// args must not be modified by the others goroutines
func (wsConn *WSConn) WriteMsg(args ...[]byte) error {
return nil
log.Debug("%d;%s", len(args[0]), string(args[0]))
wsConn.Lock()
defer wsConn.Unlock()